Re: Breakpoints firing inside mscorwks.dll

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tarek Madkour [MSFT] (tarekm_at_online.microsoft.com)
Date: 02/23/05


Date: Wed, 23 Feb 2005 10:08:42 -0800

sygnosys@gmail.com (Cl?udio) wrote in
news:1ebaeb7c.0502230854.d37f71f@posting.google.com:

> 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.

> 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?

Thanks,

-- 
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers 
no rights.


Relevant Pages

  • Re: D8: Speed issue - very slow even on P4 1.4
    ... It's got some latency problems on my machine too: P4-2.0GHz, 1GB RAM ... Switching between code and Form is sluggish, and stopping at breakpoints ...
    (borland.public.delphi.non-technical)
  • Breakpoints firing inside mscorwks.dll
    ... I've "ported" a unmanaged app to the managed world by switching on the ... The problem I'm facing now is that all breakpoints that I set up get ...
    (microsoft.public.vc.debugger)
  • Re: Dapper complete system freeze---could be ati driver or epiphany browser
    ... keep a LiveCD around and follow them up the next time the bug occurs. ... switching to the vesa driver instead of ati by editing xorg.conf might ... it could be my T30 IBM, i have been running CentOS on it for months, ... I also had those freeze problem but i could say that even it is random ...
    (Ubuntu)
  • Re: Word 2003 Bug
    ... Change Printer ... The display corruption does not always happen the first time you try it. ... Also just switching the printer does not cause the problem, ... > I cannot reproduce the 'bug'. ...
    (microsoft.public.word.application.errors)
  • Re: [RFC][v2][patch 0/12][CFQ-cgroup]Yet another I/O bandwidth controlling subsystem for CGroups
    ... It can be easily reproduced creating a cgroup, switching ... the i/o scheduler from cfq to any other and switch back to cfq again. ... BUG: unable to handle kernel paging request at ffffffeb ...
    (Linux-Kernel)