Error hook
Kjetil Svalastog Matheussen <[email protected]> Fri, 2 Mar 2007 18:28:01 +0100 (CET)
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, To get proper traces if anything goes wrong, I put all my code through a macro which adds trace information. This seems to work very nice, but its a bit inconvenient to always write (bt) [my backtrace function] when something goes wrong. So I wonder if there is some trick to add some kind of error hook? I know about with/fc, but I don't bother calling with/fc etc. whenever I'm testing code. Thats just as inconvenient as writing (bt) after something went wrong. Any tips? Perhaps adding a custom repl somehow? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV