Bug 8822 - [Serviceability] Add button to show log from error dialog
Summary: [Serviceability] Add button to show log from error dialog
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P2 major (vote)
Target Milestone: 2.0 M3   Edit
Assignee: Eduardo Pereira CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 1867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-31 08:43 EST by Nick Edgar CLA
Modified: 2002-05-09 11:59 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-01-31 08:43:12 EST
Build 20020125

The error dialog should have a button which will show the error log.

Simply opening it an editor would be one option.
Or in its own simple shell with text widget (need to handle large files though).
The minimal requirement is that it support cut.

May need to add error handling hooks to JFace to do this, if its event loop is 
the one catching the exceptions.
Comment 1 Eduardo Pereira CLA 2002-02-04 12:26:19 EST
*** Bug 1867 has been marked as a duplicate of this bug. ***
Comment 2 Eduardo Pereira CLA 2002-02-06 18:26:05 EST
Fixed: 
   See InternalErrorDialog and ExceptionHandler.
The exception stacktrace is printed directly to the text field as well as to 
the log file.

Still need to make the detail button "configurable". Some products may not want 
to show java exceptions to the end user.
Comment 3 Eduardo Pereira CLA 2002-05-09 11:59:52 EDT
The key org.eclipse.ui/debug/internalerror/openDialog=false
was added to the .options file (default = false). This means that any exception 
will logged in the .log file but no dialog will be opened to the user unless 
the .option file is changed.

The Dialog will open in case of OutOfMem and other "major" exception without 
the detail button.