Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Re: Custom LaunchShortcut, debugger does not link source
Re: Custom LaunchShortcut, debugger does not link source [message #756686] Mon, 14 November 2011 16:33
Deepak Azad is currently offline Deepak AzadFriend
Messages: 543
Registered: July 2009
Senior Member
On 11/7/2011 11:43 PM, tom.hughes wrote:
> Hi,
>
> I am creating an LaunchShortcut based on
> org.eclipse.pde.ui.launcher.AbstractLaunchShortcut and
> org.eclipse.pde.launching.OSGiLaunchConfigurationInitializer
> with a few tweaks.
>
> All is good, except when I debug. The debugger stops on my breakpoints,
> the stacktrace is correctky displayed, but when I click on the stack
> frames, it does not take me to that location in the source. Also I do
> not get the green highlight for the current line.
> Basically it seems the source is not correctly linked.
>
> I looked around and it seems like I am setting the correct values on the
> ILaunchConfiguratinoWorkingCopy. Including the following line :
> configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_SOURCE_PATH_PROVIDER,
> PDESourcePathProvider.ID);
>
> which I was hoping would do the magic but no.
> Any other tips or pointers?
>
> kind regards,
> Tom

Folks on PDE forum might be able to help.
Previous Topic:Export Eclipse Plugins Error
Next Topic:using monitors and submonitors
Goto Forum:
  


Current Time: Thu Apr 25 01:06:37 GMT 2024

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

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

Back to the top