[Issue 8841] Missing line numbers in stack trace?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 9 10:05:56 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8841


Benjamin Thaut <code at benjamin-thaut.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at benjamin-thaut.de


--- Comment #8 from Benjamin Thaut <code at benjamin-thaut.de> 2013-02-09 10:05:46 PST ---
> The major problem is that the throwing statement in main isn't shown at all. If
> it is shown (as in Kenjis example) line numbers usually show up.

I noticed this issue as well. As it seems dmd does not generate a propper
stackframe when calling druntime c-functions. The same happens with assert.
Only onAssertError will appear on the callstack, but not the function that did
trigger the assert. But nothing can be done on the runtime side about this. To
make this work dmd would have to generate stackframes that are valid for
StackWalk64. In x64 this works just fine, all called functions show up (as soon
as this is merged https://github.com/D-Programming-Language/druntime/pull/368)

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


More information about the Digitalmars-d-bugs mailing list