Line numbers in backtraces (2017)
Tobias Pankrath
tobias at pankrath.net
Thu Nov 2 19:05:46 UTC 2017
> Including Phobos? Your posted backtrace looks to me like
> templates instantiated within Phobos, so I think you'd need
> Phobos with debug symbols for those lines.
---
int main(string[] argv)
{
return argv[1].length > 0;
}
---
> ~ [i] % rdmd -g -debug test.d
> core.exception.RangeError at test.d(3): Range violation
> ----------------
No difference when I compile with 'dmd -g -debug' and run in
manually.
More information about the Digitalmars-d-learn
mailing list