Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Debugging plugins

Unfortunately, there is not yet such a thing but it would be very simple to add.
I opened a bug for logging plugin load, access of service metadata, etc. [1]
As in Eclipse, we want to be as lazy as possible in loading your plugin on a particular page, but it does result in the "what the hell is going on" effect. At least if you knew we accessed your service metadata you'd know we were trying. We should also log failures, such as getting incomplete metadata, etc. etc.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=374779

Inactive hide details for John J Barton ---03/19/2012 12:40:30 PM---I tried Susan's orion.page.content, but nothing happens. WhJohn J Barton ---03/19/2012 12:40:30 PM---I tried Susan's orion.page.content, but nothing happens. What does this experience remind me of? Ecl

From: John J Barton <johnjbarton@xxxxxxxxxxxxxxx>
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date: 03/19/2012 12:40 PM
Subject: [orion-dev] Debugging plugins
Sent by: orion-dev-bounces@xxxxxxxxxxx





I tried Susan's orion.page.content, but nothing happens. What does
this experience remind me of? Eclipse! High on my list of reasons why
Eclipse UIs were a pain in the neck was the "nothing happens" routine.
Let's not repeat that mistake.

We need a plugin-dev mode with options to log the plugin registration
and extension point calls.  I should be able to go to
Settings/Plugins/Dev and see a list of extension points, eg
'orion.page.content'. I should be able to see my plugin listed. I
should be able to "log all calls into" that point. Even this much
would dramatically focus my attention on where my problem could occur.

Is there such a thing?

jjb
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev


GIF image


Back to the top