# BreakpointExtension

###### Identifier:

org.eclipse.cdt.debug.core.BreakpointExtension

###### Description:

This extension point defines a mechanism for defining a debug model specific extension to C breakpoints.

###### Configuration Markup:

<!ELEMENT extension (breakpointExtension*)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT breakpointExtension EMPTY>

<!ATTLIST breakpointExtension

id CDATA #REQUIRED

markerType CDATA #REQUIRED

class CDATA #REQUIRED

debugModelId CDATA #REQUIRED>

- id - specifies a unique identifier for this breakpoint extension type.
- markerType - specifies the fully qualified identifier (id) of the corresponding marker definition for breakpoints that this extension applies to
- class - specifies the fully qualified name of the Java class that implements `ICBreakpointExtension`.
- debugModelId - specifies the fully qualified identifer (id) of the debug model that this extension applies to

###### Examples:

The following is an example of a breakpoint extension extension point.

     <extension point="org.eclipse.cdt.debug.BreakpointExtension">
      <breakpointExtension
       id="com.example.ExampleBreakpointExtension"
       markerType="com.example.ExampleBreakpointMarker"
       debugModeId="com.example.debug"
       class="com.example.BreakpointExtensionImpl">
      </breakpointExtension>
     </extension>

In the example above, the specified type of breakpoint extension is implemented by the class "com.example.BreakpointExtensionImpl". This extension is going to apply to breakpoints with markers extending "com.example.ExampleBreakpointMarker", and to debug model with ID of "com.example.debug".

###### API Information:

Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.cdt.debug.core.model.ICBreakpointExtension, and which supplies a constructor with a single argument of type org.eclipse.cdt.debug.core.model.ICBreakpoint.

Copyright (c) 2007 Wind River Systems and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html