Remote debugging, getting the symbols loaded RRS feed

  • Question

  • After much reading and trying of things, I have remote debugging working on my local network, under Visual Studio 2005. Almost, that is. Except that I can't get symbols loaded.

    Here's the scenario. I did a fresh build of the project. I carefully checked to make sure that the debug configuration was building. Using a flash drive I copied the executable to the remote computer. I ran it. From the same instance of Visual Studio, untouched, I did an Attach Process. And got the following very clear messages:

    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\\mscorlib.dll', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'E:\Project1.exe', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_M
    SIL\System.Windows.Forms\\System.Windows.Forms.dll', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_M
    SIL\System\\System.dll', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_M
    SIL\System.Drawing\\System.Drawing.dll', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_M
    SIL\Microsoft.VisualBasic\\Microsoft.VisualBasic.dll', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_M
    SIL\System.Configuration\\System.Configuration.dll', No symbols loaded.
    'Project1.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_M
    SIL\System.Xml\\System.Xml.dll', No symbols loaded.
    The thread 0x1c8c has exited with code 0 (0x0).
    The thread 0x6b4 has exited with code 0 (0x0).
    The thread 0x1ae4 has exited with code 0 (0x0).
    The thread '<No Name>' (0x1414) has exited with code 0 (0x0).

    The second line, referring to Project1.exe, is of course the one that matters. Why won't it load the symbols for my project? Is there a way to force it, to tell exactly where the file containing those symbols is?

    Both systems running XP Pro SP2.


    Wednesday, March 25, 2009 6:31 PM