www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Stack tracing

reply Valéry Croizier <valery freesurf.fr> writes:
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.
Dec 17 2006
parent Charlie <charlies nowhere.com> writes:
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.
Dec 17 2006