Re: Strange Debugger Problems
- From: "jbacigal" <jbacigal@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 1 Jul 2005 07:28:04 -0700
> There are two ways to specify the engine:
> 1) Using project settings
> Project properties | Configuration Properties | Debugging | Debugger Type
> (though I remember that in a previous message you said that it's "Auto", which
> is usually good enough - anyway, what setting is there now? What happens
> if you try other settings?)
> 2) When attaching to the running application
> (in Attach to Process dialog, you can select "Common Language Runtime" or "Native"
> engine, or both - which do you use?)
>
> From your description it looks like the debugger has a problem choosing the correct
> debug engine for the application when it is starting under debugger, though does not
> have this problem when attaching to it (if you choose "Native" in Attach to Process
> dialog, of course). Take a look at the information here, may be there is something
> that can help:
> http://blogs.msdn.com/greggm/archive/2004/07/08/177774.aspx
>
> Oleg
>
I have messed around with the debugging settings in the project. My hopes
were that since I can attach to my native code when its running, that I could
resolve this error by switching my debugger type to "Native Only". This also
did not work when I was attempting to debug from within the IDE. However,
when I run the application using control-f5 and then manually attach using
the Native debugger it works fine.
This is strange, I just now changed the type to "Mixed" and it works just
fine from the IDE.
Even after I have removed the "/clr", so it is only native code. Well, at
least it works...
Thanks for the link, I will check it out. Maybe I will find an answer on
that page as to why it works as a mixed debugger instead of just regular old
native mode...
Thanks again for your help!
Joe
.
- References:
- Re: Strange Debugger Problems
- From: Oleg Starodumov
- Re: Strange Debugger Problems
- Prev by Date: Reconnect to MSVCMON after network failue?
- Next by Date: dbghelp question
- Previous by thread: Re: Strange Debugger Problems
- Next by thread: Reconnect to MSVCMON after network failue?
- Index(es):
Relevant Pages
|