debugger error messages [message #165762] |
Thu, 04 December 2003 05:08  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05948 seconds