Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » No stack dump in console?
No stack dump in console? [message #102222] Tue, 29 July 2003 10:05 Go to next message
Eclipse UserFriend
Originally posted by: crvich.us.ibm.com

When a Runtime exception gets thrown in a test/runtime workbench, the
exception name is shown in red text in the development workbench console.
Great, but I really need the stack trace too. The stack trace seems to at
least go to the .metadata/.log file in the runtime-workspace area (gotta go
dig it out, slightly inconvenient), and of course I can modify my code to
try/catch the outermost function and print it myself...but I'm wondering if
there's a simple option somewhere to automatically direct the stack dump to
the console right there along with the exception name. Enabling the
"Tracing" option in the Run setup doesn't seem to do it.


--
Ernest M. Crvich
IBM ODE Team
http://w3.ode.raleigh.ibm.com/
Have footbag, will shred
Re: No stack dump in console? [message #102252 is a reply to message #102222] Tue, 29 July 2003 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Ernest,

Have you had a chance to check out the Window>Show View> Other> PDE
Runtime>Error Log?
It provides a nice easily accessed view of a workspaces .log file.
Darins

"Ernest Crvich" <crvich@us.ibm.com> wrote in message
news:bg5uui$5mr$1@eclipse.org...
> When a Runtime exception gets thrown in a test/runtime workbench, the
> exception name is shown in red text in the development workbench console.
> Great, but I really need the stack trace too. The stack trace seems to at
> least go to the .metadata/.log file in the runtime-workspace area (gotta
go
> dig it out, slightly inconvenient), and of course I can modify my code to
> try/catch the outermost function and print it myself...but I'm wondering
if
> there's a simple option somewhere to automatically direct the stack dump
to
> the console right there along with the exception name. Enabling the
> "Tracing" option in the Run setup doesn't seem to do it.
>
>
> --
> Ernest M. Crvich
> IBM ODE Team
> http://w3.ode.raleigh.ibm.com/
> Have footbag, will shred
Re: No stack dump in console? [message #102283 is a reply to message #102222] Tue, 29 July 2003 10:22 Go to previous message
Eclipse UserFriend
Ernest Crvich wrote:

> When a Runtime exception gets thrown in a test/runtime workbench, the
> exception name is shown in red text in the development workbench console.
> Great, but I really need the stack trace too. The stack trace seems to at
> least go to the .metadata/.log file in the runtime-workspace area (gotta go
> dig it out, slightly inconvenient), and of course I can modify my code to
> try/catch the outermost function and print it myself...but I'm wondering if
> there's a simple option somewhere to automatically direct the stack dump to
> the console right there along with the exception name. Enabling the
> "Tracing" option in the Run setup doesn't seem to do it.

Launch with the -consolelog command line option.

Jeff
Previous Topic:Update unavailable in M2?
Next Topic:CVS Rep. Connections
Goto Forum:
  


Current Time: Tue May 06 19:18:17 EDT 2025

Powered by FUDForum. Page generated in 0.03430 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top