[Issue 12200] Strange crash while debugging in Win64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 19 05:47:38 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12200



--- Comment #3 from Manu <turkeyman at gmail.com> 2014-02-19 05:47:35 PST ---
Mine looks identical to yours:

  ++depth;
000007F7FEF0A64F FF 45 A0             inc         dword ptr [depth]  
  step[depth] = 24;
000007F7FEF0A652 48 63 75 A0          movsxd      rsi,dword ptr [depth]  

You are experiencing the crash too?

Sorry, maybe I was confusing; that large disassembly of mine above was from my
code in context (not the reduced code I pasted here with the bug).
My reduced code is identical to yours. My original code in the original context
looked completely different, although that ff looks sus.

What's strange though, is unless the breakpoint is ON that ++depth line, it
doesn't crash.
Set the breakpoint earlier, like on the switch(), and you'll be able to step
straight over it without problem.
Although even more weird, if you do break earlier and still have the breakpoint
on the ++depth line (even thought it wasn't the breakpoint that halted
execution), it will crash.

Basically, it freaks out if there is a breakpoint on that line, and works fine
in any other case. It doesn't seem to be related to single stepping, cus you
can step over no problem as long as the breakpoint's not exactly there :/

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list