December 17, 2006
Is there some way to get a call stack trace each time an exception is thrown ?

When a contract is violated, it is quite disappointing not to be able to locate immediatly the real mistake in my code.
December 17, 2006
Debugging D programs is a real concern for the language :/.

Maybe Walter will see this and incoroporate shinh's backtrace patched phobos, you can get it here -> http://shinh.skr.jp/d/ .

There is also a way to programmatically get the backtrace, see this post -> http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=45299.

Charlie


Val��������������������������������� wrote:
> Is there some way to get a call stack trace each time an exception
> is thrown ?
> 
> When a contract is violated, it is quite disappointing not to be
> able to locate immediatly the real mistake in my code.