Article View: borland.public.jbuilder.java.language
Article #8147Re: generating stack trace in javaw
From: Torsten Welches
Date: Sat, 21 Apr 2001 09:42
Date: Sat, 21 Apr 2001 09:42
23 lines
2142 bytes
2142 bytes
John McGrath [TeamB] schrieb in Nachricht ... >You could package the application using the JBuilder launcher. Then >the program will have a console window, even though it will be hidden. >There are applications available that will allow you to show a hidden >window, so you can do that when you need to see the stack trace. I didn't know that. Thanks, John, I will definitely look into this. Do you have a link handy for such an application that shows a hidden window? This technique would work for JBuilder itself as well - would be quite helpful sometimes indeed. >> The program has System.err redirected to a log file so I should >> be able to see unhandled exceptions but the log file is clean. > >Is this redirected using System.setErr()? If so, I do not think that >will affect stack traces. It definitely does not affect the garbage >collector's debug information. Yes, not these stack traces, but something like a stack overflow or other things that can stall an application and do show up on System.err. It does not help in this particular case of a dead-lock, right. Torsten
Technical Details
Message-ID:
<3ae1554e_1@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!newshub2.home.com!news.home.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ae03546$1_1@dnews> <MPG.154ac1171ec452d198a13e@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,bba53f236d146382 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-21 02:44:01 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Newsgroups: borland.public.jbuilder.java.language References: <3ae03546$1_1@dnews> <MPG.154ac1171ec452d198a13e@forums.borland.com> Subject: Re: generating stack trace in javaw Date: Sat, 21 Apr 2001 11:42:13 +0200 Lines: 25 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 NNTP-Posting-Host: 195.14.251.116 Message-ID: <3ae1554e_1@dnews> X-Trace: dnews 987845966 195.14.251.116 (21 Apr 2001 02:39:26 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!e420r-sjo4.usenetserver.com!news-out.usenetserver.com!newshub2.rdc1.sfba.home.com!newshub2.home.com!news.home.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews