DMD sometimes generates faulty debug lines information

Jascha Wetzel "[firstname]" at mainia.de
Wed Mar 14 12:45:05 PDT 2007


Everyone using Ddbg with larger than tiny test-programs has probably
experienced this.
What you'll notice is, that although you set a breakopint at some line x
(and the breakpoint is actually set at that line, not just skipping
non-instruction lines), the debugger will break at some other line y > x.
This and similar behaviour has been observed in larger programs (usually
with a lot of modules). I'm currently trying to narrow it down to a test
case, but without success, so far. I'll have to downsize my larger
project step by step...

Has anyone seen something like this in as-small-as-possible programs?


More information about the Digitalmars-d-debugger mailing list