Article View: borland.public.jbuilder.java.language
Article #8146Re: generating stack trace in javaw
From: John McGrath TeamB
Date: Sat, 21 Apr 2001 03:36
Date: Sat, 21 Apr 2001 03:36
27 lines
1897 bytes
1897 bytes
On 20 Apr 2001 06:10:30 -0700, Torsten Welches wrote:
> does anybody know if it is possible to generate/signal a stack
> trace with javaw.exe (Windows)? With java.exe one can use
> <ctrl><break>, but javaw has no command window (that's what
> javaw.exe is all about <g>).
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.
> 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.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.154ac1171ec452d198a13e@forums.borland.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ae03546$1_1@dnews>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-20 20:44:01 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.language Subject: Re: generating stack trace in javaw Date: Fri, 20 Apr 2001 23:36:03 -0400 Message-ID: <MPG.154ac1171ec452d198a13e@forums.borland.com> References: <3ae03546$1_1@dnews> X-Newsreader: MicroPlanet Gravity v2.30 NNTP-Posting-Host: 209.92.40.60 X-Trace: dnews 987824162 209.92.40.60 (20 Apr 2001 20:36:02 -0700) Lines: 27 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews