www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17811] New: No stack for Win32 exceptions

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

          Issue ID: 17811
           Summary: No stack for Win32 exceptions
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: nicolas.jinchereau gmail.com

I'm trying to work on a mixed D/C++ project, but when something goes wrong in
the C++ code, I simply get this:

"Unhandled exception: 0xe06d7363: Win32 Exceptions"

The Stack Frame drop down in VS only has two entries:

"KernelBase.dll!_RaiseException 16 + 0x62 bytes"
"my.exe!__d_throw_exception() + 0x196 bytes"

And a disassembly window opens up pointing inside "_RaiseException 16:"

There is no way to determine what went wrong from here. Breakpoints often do
not work properly either.

--
Sep 06 2017