[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Workbench errors not logged

Messages often get written to the log that you wouldn't know to look for. Plug-ins fail to resolve, extension declarations are missing attributes, etc. Sometimes the message is just a warning, sometimes it indicates a problem that isn't apparent without looking hard. I oftentimes find out about problems only because they're logged to my console.

In my work, I like to keep a completely clean console. Any tiime something is logged I try to clear up the issue asap.

--- Patrick
patrick@xxxxxxxxxxxxxxxxx


On 2007-06-29 14:50:32 -0500, mike.junkbox@xxxxxxxxx (Mike) said:

Found my bug in one minute after looking at the log. I added -debug and -consoleLog. Just curious, what sort of things has that helped you find?

Patrick Paulin wrote:

Hi Mike,

Glad you're on the right track now. BTW, it's also a good idea to use the -consoleLog argument. Whenever I create a new launch config, I add -consoleLog immediately.

Madison is wonderful (as you probably know), especially in the summer. I'm actually sitting in a coffee shop overlooking Lake Monona at the moment, and the view is beautiful.

Take care,

--- Patrick
patrick@xxxxxxxxxxxxxxxxx

On 2007-06-29 12:40:41 -0500, mike.junkbox@xxxxxxxxx (Mike) said:

I have to admit I was looking in the eclipse install .metadata subdir. I should have realized the application would have its own workspace. I found it under runtime-<launcher name>. Which is clearly shown in the launcher setup dialog. DOH! Thanks for the pointer. Now to solve the problem at hand.

BTW Patrick, how's Madtown?  I lived there from about '82 thru '90.

Patrick Paulin wrote:

When you say nothing has been logged, are you checking the log for the workspace created by the launch configuration or the one for your Eclipse install? You should be checking the former.

Also, try adding -consoleLog to your launch configuration (Arguments tab).

Regards,

--- Patrick
patrick@xxxxxxxxxxxxxxxxx


On 2007-06-28 18:34:40 -0500, mike.junkbox@xxxxxxxxx (Mike) said:

I have an RCP application that I'm working on. I have a ViewPart that gets opened at when a tree node is double clicked in another view. This all works fine. When I exit the application, I get, "An error has occurred when closing the workbench. See error log for more details." in a dialog box.

Nothing has been logged in the workbench .metadata/.log file. Is there something I have to enable for this to happen?