digitalmars.D - Stack tracing
- Valéry Croizier (4/4) Dec 17 2006 Is there some way to get a call stack trace each time an exception
- Charlie (8/13) Dec 17 2006 Debugging D programs is a real concern for the language :/.
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
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