Jakub K
Jakub K

Reputation: 1711

Eclipse plugin - find out last exception

I am developing an Eclipse plugin and I would like to be able to find out about exceptions and errors the user encounters.

For starters, how can I find out information about the last run time exception that occurred, let's say when a user clicks a button? By information I mean the exception type and the file and line where it was thrown.

Upvotes: 0

Views: 71

Answers (1)

cmd
cmd

Reputation: 11841

Any exception logged to Eclipse is saved in the workspace's .log file located at WORKSPACE_DIR\.metadata\.log

You can also inspect this log visually by using the Eclipse Error Log view. To open the Error Log, select Window->Show View->Error Log

Upvotes: 2

Related Questions