Re: Remote debugging a mixed DLL



Hi Jeffrey,

I am also encountering the same issue which is discussed in this thread. I
have mixed mode managed C++ DLL loaded into the Win32 C++ service. I am not
able to put the breakpoints into this dll when i am doing the remote
debugging. But when i do the local debugging i can put breakpoints. When i
am doing the remote debugging i also copied the binaries to the execution
path of the remote win32 service.

I read your previous answer to this thread "word by word" and figured out
which path is getting loaded for the pdbs for the mixed mode. I copied the
pdb from the local machine to the remote win32 service path, and i saw from
the modules window that it's loading the correct pdb from the remote machine.
But still i am not able to but the break points in to this mixed mode dll.

Also intrestingly in the modules window i can see a red icon on this
particular DLL name, and in the symbol status it's saying symbol loaded from
the remote machine path. When i pointed my cursor to this red icon i am
getting the message "The module did not load at the default load address".
Can you please point me why i am getting this error.

Also the Process List view column in the module window showing my win32 C++
process as Native when i am doing remote debugging. But when i am doing local
debugging it's showing the same process as "Managed". Does this make any
difference.

Looks like i am out of luck here, for the past two three days i am
struggling with this, and i hope any help/pointers from somebody will give me
a sound sleep!!.

Thanks,
Shyam.

""Jeffrey Tan[MSFT]"" wrote:

Hi Olivier,

Thanks for your feedback and confirm!

Yes, after launching the application for debugging, we¡¯d better always
check the Module window for the managed symbol first :-)

It¡¯s also a pleasure to work with you, such a kind customer. If you need
further help, please feel free to post, thanks.

Merry Christmas!

Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • Re: Remote debugging a mixed DLL
    ... Here Path 1) is the remote machine where the Win32 service is running ... But when i do the local debugging i can put breakpoints. ... the modules window that it's loading the correct pdb from the remote machine. ...
    (microsoft.public.vsnet.debugging)
  • Re: SBS Turn-Key Operation
    ... My entire business is primarly mobile, with the chance that an SMB needs ... > then use XP Remote Desktop support a lot easier. ... >> my customers are residental w/ a few SMB accounts. ...
    (microsoft.public.windows.server.sbs)
  • *****UNABLE TO MAP THE DEBUG START PAGE URL TO A MACHINE NAME - HELL ON EARTH - PLEASE HELP!
    ... ASP.Net debugging through a firewall. ... Terminal Services to log into the remote server and debug locally. ... "Were the proper setup programs run to install ASP.NET or ATL Server ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Getting rid of old, obsolete kernels
    ... > to login via terminal server, enter user/password, hard reset the ... LILO and make the system unrecoverable without a boot disk. ... You need a remote serial concentrator to do this effectively. ... Some of the higher end ones support SSH now, ...
    (comp.os.linux.setup)
  • RE: performancecounter object and remote server
    ... you're using the .NET performance counter to open ... counters on remote machine, however, you got the following error, correct? ... running under a local account, has same username/password on both machine). ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.general)

Loading