Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Contribution on Debug Configurations window
icon5.gif  Contribution on Debug Configurations window [message #1067821] Wed, 10 July 2013 17:19
Alex Gru is currently offline Alex Gru
Messages: 1
Registered: July 2013
Junior Member
Hi everione!!

I was trying to add a new debug configuration and faced a problem: can't create new item in Debug Configurations window. As I understood I have to use extention point org.eclipse.cdt.debug.ui.CDebuggerPage (second one):
    <extension
         point="org.eclipse.cdt.debug.core.CDebugger">
      <debugger
            class="org.eclipse.cdt.debug.mi.core.GDBServerCDIDebugger2"
            cpu="*"
            id="org.eclipse.rse.remotecdt.RemoteGDBDebugger"
            modes="run"
            name="remote gdb/mi"
            platform="*">
      </debugger>
   </extension>
   <extension
         point="org.eclipse.cdt.debug.ui.CDebuggerPage">
      <debuggerPage
            class="my.class.cdt.launch.remote.tabs.RemoteGDBDebuggerPage"
            debuggerID="org.eclipse.rse.remotecdt.RemoteGDBDebugger"
            id="org.eclipse.remotecdt.RemoteGDBDebuggerPage">
      </debuggerPage>
   </extension>


My class my.class.cdt.launch.remote.tabs.RemoteGDBDebuggerPage:

import org.eclipse.cdt.debug.mi.internal.ui.GDBDebuggerPage;

public class RemoteGDBDebuggerPage extends GDBDebuggerPage {

	@Override
	public String getName() {
		System.out.println("getName!!!!!!!!!!!!!");
		return "AAAAA";
	}
	@Override
	public void createTabs( TabFolder tabFolder ) {
		System.out.println("createTabs!!!!!!!!!!");
		super.createTabs( tabFolder );
	}
}


I overrode some metods just to watch them being called, but it isn't happened, and there is no new items in Debug Configurations window....

Can anyone tell me what em I doing wrong? Thanks in advance!
Previous Topic:Eclipse Plugin Development (w/PDE)
Next Topic:Command parameter as Object and not as String
Goto Forum:
  


Current Time: Wed Sep 03 02:32:17 GMT 2014

Powered by FUDForum. Page generated in 0.01439 seconds