Search code examples
c#visual-studioremote-debugging

Remote debugging with informations?


I'm using the Visual Studio 2012 Remote debugguer and it works fine. But I'm not getting a lot of informations.

I agree with the fact that I can't have the source code when an unhandled exception is throw but I'm surprised that the remote debugguer don't send me the line or the function or simply the stacktrace.

All I got is, for example :

Unhandled ArgumentNullException in System.core.dll

Is there a way to compile a program (with VS 2012) that can send more information in remote debugging?


Solution

  • Check following points :

    1. The assemblies should be built in Debug mode instead of Release mode
    2. The debug symbols should be present at target location (PDB files)
    3. The source code should not have been modified after the remote assemblies were built.
    4. I think you should have administrator privileges for this to complete.