System in written in C#
, .Net4.5
. I am trying to remote debug one of our Web APIs. I am using msvsmon.exe
(2015) on server and running Visual Studio 2015
on my local.
I can connect to process no problem and breakpoints are being hit, I am also sure I am running same version of code as I manually copied over dll
and pdb
files from my local machine to the server.
I can't even inspect strings when they are fired into endpoint I get Internal error in the expression evaluator
. To remedy this error offered solution is to tick the box on Managed Compatibility Mode
in Tools -> Options -> Debugging
however, when I do this, when I try to attach to process in debug window, I get unable to attach to the process. the rpc server is unavailable
. Solution to which offered is to untick that same box, lol.
I have also tried in vain to enable Use the legacy C# and VB expression evaluators
in debug options but that didn't do any good.
I am sure someone by now have ran into this problem.... How do I inspect objects when remote debugging on VS2015?