Thu, 15 Jan 2009 02:47:07 +0100, Hoenir wrote: > Might be a dumb question, but is it possible in any way to get the line > number where an error occured? > Don't think so, but maybe I'm missing something.
assert gives a line number. There's also a keyword, __LINE__, which is an expression evaluating to the current line number, like in writefln(__LINE__); If you mean an exception stack trace then no, there's no such thing, though it's a very popular feature request.