debugging perspective launch [message #201525] |
Fri, 23 March 2007 19:13  |
Eclipse User |
|
|
|
I have written a perspective for my own file types. It works fine if
launched from the Eclipse workbench. I also wrote a feature and update
site.
But when I run UpdateManager (in a second version of Eclipse) from my
update site it appears that all is OK. Jars are in the folder, plugin is
listed in the "Plugin Details" dialog. But when I then try to use the
perspective it seems to be unable to find resources (the proper icon for
the perspective is missing, for example) and I get an error "Unable to
launch perspective". Period. Very helpful... :-) Can't find any error
log to look at.
Any suggestions on how to debug this? Is there an error logging I can
turn on? This is kind of the old Heisenbug. Running it under the
workbench debugger it is fine, but when run off the updater it isn't.
Seems to be some sort of classpath/resource issue, but I'm kind of
stumped at how to sort this out.
Any suggestions of approaches would be appreciated. Thanks.
|
|
|
Re: debugging perspective launch [message #201532 is a reply to message #201525] |
Fri, 23 March 2007 19:23  |
Eclipse User |
|
|
|
Ric Wright wrote:
> I have written a perspective for my own file types. It works fine if
> launched from the Eclipse workbench. I also wrote a feature and update
> site.
>
> But when I run UpdateManager (in a second version of Eclipse) from my
> update site it appears that all is OK. Jars are in the folder, plugin is
> listed in the "Plugin Details" dialog. But when I then try to use the
> perspective it seems to be unable to find resources (the proper icon for
> the perspective is missing, for example) and I get an error "Unable to
> launch perspective". Period. Very helpful... :-) Can't find any error
> log to look at.
>
> Any suggestions on how to debug this? Is there an error logging I can
> turn on? This is kind of the old Heisenbug. Running it under the
> workbench debugger it is fine, but when run off the updater it isn't.
> Seems to be some sort of classpath/resource issue, but I'm kind of
> stumped at how to sort this out.
>
> Any suggestions of approaches would be appreciated. Thanks.
Well, I figured out to look at the log within the PDE, but it doesn't
help much more. "An error occurred while automatically activating
bundle com.adobe.epubbuilder [my plugin]". Well, I sort of guessed that.
|
|
|
Powered by
FUDForum. Page generated in 0.70099 seconds