Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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