www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15506] New: VS2015 crash while debugging

https://issues.dlang.org/show_bug.cgi?id=15506

          Issue ID: 15506
           Summary: VS2015 crash while debugging
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

I'm getting weird crashes while debugging...

I'm on VS2015, debugging a DMD built DLL, loaded from a C++ exe.
Debugger is the VS debugger, launched when launching the C++ exe.
The DLL is built with Debug Info = 'Symbolic (suitable for VS debug engine).

I can step through some D code without problem, but I step into a particular
function, and the moment the debugger tries to evaluate any variable, it
crashes.
If I take care not to evaluate any variables, it continues to work for a little
while, but eventually crashes when it reaches a particular instruction.

The stack frame looks okay, not corrupted. It is certainly not corrupted
immediately before the 'call' opcode that enters the functions, which makes me
think it's some sort of debugger state problem.

I have no idea how I can reproduce outside of this specific case :/

--
Jan 03