Debugging Managed vs Unmanaged code, please help!!!
From: Alex Hazanov (alex_at_meidan.co.il)
Date: 11/25/04
- Next message: arthur Wang [MSFT]: "RE: unable to start debugging when program started with another exe."
- Previous message: Luc: "unable to start debugging when program started with another exe."
- Next in thread: Gary Chang[MSFT]: "RE: Debugging Managed vs Unmanaged code, please help!!!"
- Reply: Gary Chang[MSFT]: "RE: Debugging Managed vs Unmanaged code, please help!!!"
- Reply: Alex Hazanov: "Re: Debugging Managed vs Unmanaged code, please help!!!"
- Messages sorted by: [ date ] [ thread ]
Date: 25 Nov 2004 13:34:51 -0800
Here is the situation:
I'm trying to debug an AutoCAD ObjectARX application written in C++
with VS.NET 2002
Everything worked fine untill i have used an embedded WebBrowser
control in one of my dialogs (Actually the control is contained in
another ActiveX control, so i can call "setExternal" on the
WebBrowser)
The thing is that now when i debug the debugger loads symbols for my
application files (which are C++ unmanaged DLLs), and ALSO it loads
symbols for msvcr71.dll which is a part of the .NET framework.
Now what happens is that when the appliction reaches the point where i
have set a break point and it should break into debugger both the
application (AutoCAD) and the .NET IDE freezes. My guess is that the
reason is that managed and native debugging have mixed somehow,
although the debug mode is set to "Native only". Now the most
interesting part is that if at this freezing point i kill the AutoCAD
process via task manager the App breaks into the debugger! I'm even
able to walk the call stack, view variable values etc, but this doesnt
help much since when i step into the next statement the app closes
(well i killed it's process, din't i) , so i'm unable to step through
the code...
Does anyone have any ideas how to prevent this behaviour ???
Any tips, pointer and help would be appreciated...
- Next message: arthur Wang [MSFT]: "RE: unable to start debugging when program started with another exe."
- Previous message: Luc: "unable to start debugging when program started with another exe."
- Next in thread: Gary Chang[MSFT]: "RE: Debugging Managed vs Unmanaged code, please help!!!"
- Reply: Gary Chang[MSFT]: "RE: Debugging Managed vs Unmanaged code, please help!!!"
- Reply: Alex Hazanov: "Re: Debugging Managed vs Unmanaged code, please help!!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|