Re: Question on Remote Debugging Manged Code
- From: "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
- Date: Thu, 19 Jan 2006 09:50:28 +0200
> I have read the MSDN documentation and KB articles about setting up remote
> debugging environment and configured corresponding firewall setting. We have
> also installed full remote debugging support on the remote machines. We
> connected to the remote machines through TCP/IP and successfully attached
> the debugger to the remote processes.
Here is the reason - TCP/IP transport only allows to do unmanaged debugging.
The only option for managed debugging is to use DCOM transport (which is
called "Default" in Processes dialog).
> However, the "Module Window" in VS IDE
> show that it failed to "load native symbols from symbol files" for those
> managed assemblies.
>
> Up to this point, I got three question:
> 1. Is it possible to debug managed code remotely?
Yes, via Default (DCOM) transport.
> 2. As it is written in managed code, why it tried to load natvie symbol
> instead of loading them from pdb files?
Because debugging started in native mode.
> 3. If possible, how to load the .pdb files so that the debugger can show
> meaningful information?
>
In addition to using the proper transport, make sure that symbols (.pdb files)
are available on the remote machine (remote debugging of managed applications
requires that). Or a network share can be setup to store symbols, of course.
> In addition to that, after attaching the debugger to the remote processes,
> we tried to break the program through the VS IDE and the processes was
> pasused. However, if we set some breakpoints before compilation and attach
> the debugger again, those breakpoints are skipped. Why would this happen?
>
Because there were no proper symbols for the components.
Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]
.
- References:
- Question on Remote Debugging Manged Code
- From: Wesoft
- Question on Remote Debugging Manged Code
- Prev by Date: Question on Remote Debugging Manged Code
- Next by Date: Re: Can't Debug COM Interface
- Previous by thread: Question on Remote Debugging Manged Code
- Next by thread: Re: Question on Remote Debugging Manged Code
- Index(es):
Relevant Pages
|
|