Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDebugger Extension Does Not Load
CDebugger Extension Does Not Load [message #1073286] Wed, 24 July 2013 13:17 Go to next message
Carmen Casaru is currently offline Carmen CasaruFriend
Messages: 10
Registered: July 2013
Junior Member
I am trying to create a custom GDBDebugger for a C/C++ Application Debug Configuration.
In my plugin I have added an extension:

<extension point="org.eclipse.cdt.debug.core.CDebugger">
      name="OSE GDB Debugger"

My GDBDebugger class:

public class GDBDebugger implements ICDIDebugger2
   public ICDISession createDebuggerSession(ILaunch launch, IBinaryObject exe,  IProgressMonitor monitor) throws CoreException
     System.out.println("MyGDBDebugger: createDebuggerSession");
     return createSession(launch, exe.getPath().toFile(), monitor);

   public ICDISession createSession(ILaunch launch, File executable, IProgressMonitor monitor) throws CoreException
      System.out.println("My GDBDebugger: createSession");
      return null;

The createSession() and createGDBSession() within my GDBDebugger class should be run, but instead the ones within the AbstractGDBCDIDebugger class are executed.

I've only got it working once or twice, so I thought it might be related to workspace runtime data and settings. I've tried cleaning both eclipse by running with -clean flag and I've also checked the "Clear the configuration area before launching" option under the Configuration tab within the Run Configuration. However, this does not work. Following the steps for the previous successful launches does not work either.

Does anyone have any ideas how to solve this problem? Thanks in advance!
Re: CDebugger Extension Does Not Load [message #1073746 is a reply to message #1073286] Thu, 25 July 2013 12:20 Go to previous message
Alvaro Sanchez-Leon is currently offline Alvaro Sanchez-LeonFriend
Messages: 9
Registered: January 2010
Junior Member
The following references are helpful when extending the DSF-GDB debugger
(in case you would like to switch from the CDI debugger)



Previous Topic:Indexer issue with templates that use templates
Next Topic:[SOLVED] CDT Managed Build Setting Entry Include Paths
Goto Forum:

Current Time: Wed Oct 17 03:34:55 GMT 2018

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

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

Back to the top