www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16052] New: Debugging not possible - probably wrong debug

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

          Issue ID: 16052
           Summary: Debugging not possible - probably wrong debug
                    information
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: matti731140 gmx.net

When trying to debug a D program with Mono-D or GDB, I have some severe
problems:

- When making single steps, the current line sometimes jumps backwards 
- I can't step over a function, when I try it, the debugger steps in
- I can't step out of a function, when I try it, the debugger continues the
whole program

The compiler used are DMD 2.070 and 2.071.

--
May 21 2016