RE: Debugging native C DLLs with Managed C# code?
- From: jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Thu, 29 May 2008 02:36:33 GMT
Hi,
WinCE related programming issues are not covered in this newgroup yet.
Actually, MSDN managed newsgroup does not cover WinCE issues. The following
newsgroups are better for this question:
microsoft.public.dotnet.framework.compactframework
microsoft.public.windowsce.app.development
microsoft.public.pocketpc.developer
Anyway, as I know, the VS debugger will only perform managed debugging for
..Net assembly, so it will not load symbols for the native DLLs. To load
symbols for the native DLLs, we should enable the unmanaged debugging. In
VS C# IDE, you may right click your project in the "Solution Explorer" and
choose "Properties" -> "Debug" tabpage -> Check the "Enable unmanaged code
debugging" checkbox.
Also, you should remember to set the symbol path correctly(In Tools
menu->Options ->Debugging->Symbols), so that the debugger knows where to
download the symbols for system native DLLs. I normally use the symbol path
syntax like this:
SRV*c:\localsymbols*http://msdl.microsoft.com/download/symbols
Note: above comes from my PC VS debugging experience, if the WinCE
debugging is similar to it, you may give it a try.
Hope this helps and thanks for your understanding.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
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.
.
- Follow-Ups:
- Prev by Date: Re: Starnge debug view?
- Next by Date: Re: Debugging native C DLLs with Managed C# code?
- Previous by thread: RE: Starnge debug view?
- Next by thread: Re: Debugging native C DLLs with Managed C# code?
- Index(es):
Relevant Pages
|