Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-debug-dev] CDebuggerPage extension point

Probably.

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com


From: cdt-debug-dev-bounces@xxxxxxxxxxx [mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of John Cortell
Sent: Monday, April 09, 2007 9:36 PM
To: CDT Debug developers list
Subject: [cdt-debug-dev] CDebuggerPage extension point

 

I just stumbled on the fact that the CDT debugger's handling for the CDebuggerPage extension is insensitive to the name of the elements under the extension. So, in the following, both extension delcarations work equally well, even though only one adheres to the schema.

  <extension
         point="org.eclipse.cdt.debug.ui.CDebuggerPage">
      < debuggerPage
            class="com.acme.MyDebuggerPage1"
            debuggerID="com.acme.MyDebugger"
            id="com.acme.MyDebuggerPage1"/>
      < whatthebleepisthis
            class="com.acme.MyDebuggerPage2"
            debuggerID="com.acme.MyDebugger"
            id="com.acme.MyDebuggerPage2"/>
   </extension>

The reason is the carefree logic in

CDebugUIPlugin.initializeDebuggerPageMap()

. Should we not fix this?

John

Back to the top