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, 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: Tue Jun 28 21:57:32 GMT 2022

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

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

Back to the top