www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19016] New: No file names and line numbers in stack trace for

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 puremagic.com
          Reporter: slavo5150 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 lib.d(5): exception
----------------

trace
main.d:4 _Dmain [0x7ebf3d60]

--
Jun 22 2018