December 17, 2006 Stack tracing | ||||
---|---|---|---|---|
| ||||
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 Re: Stack tracing | ||||
---|---|---|---|---|
| ||||
Posted in reply to Valéry Croizier | 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. |
Copyright © 1999-2021 by the D Language Foundation