digitalmars.D.announce - TracedException - exception with stacktrace information
- Thomas Kuehne (38/38) Jan 26 2007 -----BEGIN PGP SIGNED MESSAGE-----
- Sean Kelly (3/39) Jan 26 2007 Well I'm sold. Great work!
- kris (2/40) Jan 26 2007 This is just awesome! Very nice, thomasK :)
- Thomas Kuehne (34/34) Jan 27 2007 -----BEGIN PGP SIGNED MESSAGE-----
- Dejan Lekic (2/2) Feb 06 2007 Good work Mr. Kuehne!
- torhu (5/7) Feb 07 2007 It sure would be nice to have a stack trace printed by default. Most of...
- Charlie (5/15) Feb 07 2007 Shinh's only works on win32 , its still very useful , but this code
- Lars Ivar Igesund (8/14) Feb 07 2007 We are planning to add this in the 0.96 timeframe, but are dependant on
- Jarrett Billingsley (4/5) Feb 07 2007 Because nothing that anyone writes for Phobos ever seems to make it in. ...
- Derek Parnell (10/18) Feb 07 2007 Well... I did manage to get a change to the GC incorporated (setting
- Bill Baxter (6/8) Feb 07 2007 Yes++.
- Jarrett Billingsley (15/23) Feb 07 2007 sarcasm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Flectioned now includes a TracedException class that provides stack trace information. sample: Flectioned: http://flectioned.kuehne.cn Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFul13LK5blCcjpWoRAsAoAJ9ik6JRMk+Poa+GJIgkbXl+GZcNFQCgnKuY 3muZaqbVNObzM06Vt0mn2O8= =mBwf -----END PGP SIGNATURE-----
Jan 26 2007
Thomas Kuehne wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Flectioned now includes a TracedException class that provides stack trace information. sample: Flectioned: http://flectioned.kuehne.cnWell I'm sold. Great work! Sean
Jan 26 2007
Thomas Kuehne wrote:-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Flectioned now includes a TracedException class that provides stack trace information. sample: Flectioned: http://flectioned.kuehne.cn ThomasThis is just awesome! Very nice, thomasK :)
Jan 26 2007
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If you compile with -version=TraceAllExceptions all Exceptions(object.Exception and derived classes) will be traced. sample: dmd -version=TraceAllExceptions sample.d && ./sample Flectioned: http://flectioned.kuehne.cn PAX users: Please set NOMPROTECT e.g. via "paxctl -m sample". Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFu7GnLK5blCcjpWoRAnyJAJ0QbFVAIzbv8a6vofTd79DGzGatiQCfSS0u YnidjSMrL+bkMesMygmm4L8= =17ni -----END PGP SIGNATURE-----
Jan 27 2007
Good work Mr. Kuehne! I would like to see this in phobos (I hope Mr. Bright is reading this thread :)
Feb 06 2007
Dejan Lekic wrote:Good work Mr. Kuehne! I would like to see this in phobos (I hope Mr. Bright is reading this thread :)It sure would be nice to have a stack trace printed by default. Most of the time I fire up windbg with D, it's to trace an Access Violation. This would make debugging D apps ten times faster. And much less painful. Why not incorporate that backtrace patch someone posted into Phobos?
Feb 07 2007
Shinh's only works on win32 , its still very useful , but this code works on linux + win32. I'd really love to see this for tango also. Charlie torhu wrote:Dejan Lekic wrote:Good work Mr. Kuehne! I would like to see this in phobos (I hope Mr. Bright is reading this thread :)It sure would be nice to have a stack trace printed by default. Most of the time I fire up windbg with D, it's to trace an Access Violation. This would make debugging D apps ten times faster. And much less painful. Why not incorporate that backtrace patch someone posted into Phobos?
Feb 07 2007
Charlie wrote:Shinh's only works on win32 , its still very useful , but this code works on linux + win32. I'd really love to see this for tango also. CharlieWe are planning to add this in the 0.96 timeframe, but are dependant on Thomas porting it to Tango for us :) -- Lars Ivar Igesund blog at http://larsivi.net DSource & #D: larsivi Dancing the Tango
Feb 07 2007
"torhu" <fake address.dude> wrote in message news:eqd3ss$f6e$1 digitaldaemon.com...Why not incorporate that backtrace patch someone posted into Phobos?Because nothing that anyone writes for Phobos ever seems to make it in. :\ (A notable exception would be std.cpuid.)
Feb 07 2007
On Wed, 7 Feb 2007 19:37:15 -0500, Jarrett Billingsley wrote:"torhu" <fake address.dude> wrote in message news:eqd3ss$f6e$1 digitaldaemon.com...Well... I did manage to get a change to the GC incorporated (setting array.length = 0 no longer invalidates the allocated RAM), so keep on lobbying <G>. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Justice for David Hicks!" 8/02/2007 11:39:33 AMWhy not incorporate that backtrace patch someone posted into Phobos?Because nothing that anyone writes for Phobos ever seems to make it in. :\ (A notable exception would be std.cpuid.)
Feb 07 2007
Dejan Lekic wrote:Good work Mr. Kuehne! I would like to see this in phobos (I hope Mr. Bright is reading this thread :)Yes++. SOME kind of built-in core dump/stack trace ability in dmd would make debugging sessions go *much* faster than the current binary search for the offending line with writeflns. --bb
Feb 07 2007
"Bill Baxter" <dnewsgroup billbaxter.com> wrote in message news:eqe1ui$1jbf$2 digitaldaemon.com...Dejan Lekic wrote:sarcasm { But Bill! Isn't it just so easy to load your program into the debugger and have it break on segfault? } I especially love tracking down really insidious segfaults which are data-dependent or which don't rear their head until half an hour into execution. Yeah, it's completely practical to load the program into the debugger then. I put shinichiro's stacktrace patch into Phobos a few months ago and LOVED it. Of course it went away when I updated DMD, and I never got around to putting it back in, but..Good work Mr. Kuehne! I would like to see this in phobos (I hope Mr. Bright is reading this thread :)Yes++. SOME kind of built-in core dump/stack trace ability in dmd would make debugging sessions go *much* faster than the current binary search for the offending line with writeflns.
Feb 07 2007