Re: Custom LaunchShortcut, debugger does not link source [message #756686] |
Mon, 14 November 2011 16:33 |
Deepak Azad 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.
|
|
|
Powered by
FUDForum. Page generated in 0.03258 seconds