spir Wrote: > It was already compiled with -gc (removing this switch does not change > output). I get a line only for top-level call (the number above point to the > calling line in main).
Sorry wasn't on a Linux box to test myself. It might have to do with the error occurring in main, so you already get the line number. I had assumed -gc wasn't used since your compile line is: > s...@o:~/prog/d$ dmd -ofprog -w -debug -unittest -L--export-dynamic prog.d Anyway that is the best there is.