Re: Breakpoints firing inside mscorwks.dll

From: Cl?udio (sygnosys_at_gmail.com)
Date: 02/25/05


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



Relevant Pages

  • Re: Breakpoints firing inside mscorwks.dll
    ... After reading your post I started playing with that switch. ... to managed and the breakpoints it started working correctly. ... > Are you enabling managed debugging (From Project properties; ...
    (microsoft.public.vc.debugger)
  • RE: [fw-wiz] what is the current state of Active Directory mixed-mode?
    ... You have always been able to switch from mixed to native. ... reinstall on the server to switch from mixed mode to native mode. ... LDAP in mixed mode I haven't been able to find a single security paper on ...
    (Firewall-Wizards)
  • Re: Cant connect to mssql
    ... switch to Mixed mode. ... More details on that on my website under the ... screencasts sections ...
    (microsoft.public.sqlserver.connect)
  • Re: upgrade NT4 domain- PDC/BDC process
    ... domain is if it is in mixed mode. ... OK and does not need to be changed, make the switch. ... > PDC and BDC and several Win2000 member servers. ...
    (microsoft.public.win2000.setup_upgrade)
  • Switch to native mode blocked
    ... I have a single E2K server organization that started with an Exchange 5.5 ... organization but I'm hesitant to do that for fear the mixed mode from E2K ... will haunt me when I want native mode in E2K3. ... Any thoughts on how to get to native mode now before the switch or will it ...
    (microsoft.public.exchange2000.general)