Re: Breakpoints firing inside mscorwks.dll
From: Cl?udio (sygnosys_at_gmail.com)
Date: 02/25/05
- Previous message: Christopher Yeleighton: "output redirection failure"
- In reply to: Tarek Madkour [MSFT]: "Re: Breakpoints firing inside mscorwks.dll"
- Messages sorted by: [ date ] [ thread ]
Date: 25 Feb 2005 08:20:09 -0800
> > After reading your post I started playing with that switch.
> > Originaly it was set to auto and it presents the problem
> > described, switching to mixed made some breakpoints sometimes
> > work correctly. Finally I switch to managed and the breakpoints
> > it started working correctly.
>
> Mixed should work. If it doesn't it's a bug. Switching to managed
> will not allow you to step into non-clr compiled sources.
Mixed mode makes things a little better. I would dare to say (empiric
observation) that in mixed mode breakpoints will work fine in the main
thread but breakpoints "on other threads" will end up in mscorwks.dll.
> > But I have an interesting/weird thing happening now when
> > stepping through the code below. After the first iteration uppon
> > returning to the FOR line to evaluate the continuance
> > expression, it jumps from the FOR line to the last RETURN S_OK
> > line and then returning to the FOR line and then continuing.
> > The thing is if I debug it showing the assembly+source code then
> > the sequence is normal.
>
> Do you have optimizations turned on? If so, the compiler may be
> reordering things for you. If not, then this is a bug with our
> line number information. Would you be able to cut this down to a
> small application that exhibits the same problem and send it to me
> by email?
No, no optimizations turned on.
I'm going to try to this for you. But there is an issue here,
yesterday I installed a clean OS+VS and fortunatly I tested the code
there the debugging works fine. So I don't know if the sample will
help you?
One thing I can do for you is to crash dump VS or the entire OS and
then send you the crash dump...would this help you?
Thanks
Cláudio Albuquerque
- Previous message: Christopher Yeleighton: "output redirection failure"
- In reply to: Tarek Madkour [MSFT]: "Re: Breakpoints firing inside mscorwks.dll"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|