[Issue 19016] New: No file names and line numbers in stack trace for shared libraries

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 22 21:35:18 UTC 2018


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

          Issue ID: 19016
           Summary: No file names and line numbers in stack trace for
                    shared libraries
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: slavo5150 at yahoo.com

--- lib.d
module lib;

void exception()
{
    throw new Exception("exception");
}

$ dmd -shared -g lib.d

--- main.d
void main()
{
    import lib;
    exception();
}

$dmd -g main.d -L-R -L. -L-L. -L-l:lib.so

$./main
object.Exception at lib.d(5): exception
----------------
??:? void lib.exception() [0x9c4f864f]  # No file or line numbers in stack
trace
main.d:4 _Dmain [0x7ebf3d60]

--


More information about the Digitalmars-d-bugs mailing list