Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » debugger error messages
debugger error messages [message #165762] Thu, 04 December 2003 05:08 Go to next message
Eclipse UserFriend
Originally posted by: albertodemichelis.NO_S_P_A_M_hotmail.com

Hi,
I'm writing a debugger, I was wondering if there is a standard way in
eclipse to display
an error message when an runtime error occurs in the debugged program.
Something like a message box saying "error: exception bla bla at line 12".
Currently I'm just printing in the output and breaking the program.

thanks for your time

ciao
Alberto
Re: debugger error messages [message #165870 is a reply to message #165762] Thu, 04 December 2003 10:53 Go to previous message
Eclipse UserFriend
I suppose it depends on the language you are debugging... for example, the
Java debugger has an option to suspend at "uncaught exceptions". Thus, when
an exception is thrown, the debugger will suspend at the location the
exception occurred at, source is displayed, etc. The text associated with
the thread label displays the exception that occurred (i.e.
"NullPointerException at line: 12").

There are general error dialog facilities in the workbench. However, in
general, I would avoid prompting the user each time an error occurrs - modal
dialogs can be a painful user experience.

Darin

"Alberto Demichelis" <albertodemichelis@NO_S_P_A_M_hotmail.com> wrote in
message news:bqn0uh$nri$1@eclipse.org...
> Hi,
> I'm writing a debugger, I was wondering if there is a standard way in
> eclipse to display
> an error message when an runtime error occurs in the debugged program.
> Something like a message box saying "error: exception bla bla at line 12".
> Currently I'm just printing in the output and breaking the program.
>
> thanks for your time
>
> ciao
> Alberto
>
>
Previous Topic:createLineBreakpoint
Next Topic:Launch Groups
Goto Forum:
  


Current Time: Thu Jul 17 20:53:37 EDT 2025

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

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

Back to the top