Skip to main content



      Home
Home » Newcomers » Newcomers » debugging perspective launch
debugging perspective launch [message #201525] Fri, 23 March 2007 19:13 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Creating a submenu for a custom view
Next Topic:sync calls in org.eclipse.osgi.storagemanager.StorageManager.save and com.ibm.icu.impl.ICUResourceBu
Goto Forum:
  


Current Time: Wed Jul 23 11:18:11 EDT 2025

Powered by FUDForum. Page generated in 0.70099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top