blob: 7fa8fd3403a827e9dbfafbf91c66806c6ed10dba [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<STYLE type="text/css">
div.dtd-fragment {
width: 100%;
border: none;
background-color: #eee;
}
</STYLE>
</HEAD>
<HTML>
<BODY>
<H1><CENTER>Breakpoints</CENTER></H1>
<b><i>Identifier: </i></b>org.eclipse.debug.core.breakpoints<p>
<b><i>Description: </i></b>This extension point defines a mechanism for defining new types of breakpoints.<p><b><i>Configuration Markup:</i></b><p>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.breakpoint">breakpoint</a>*)&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST extension</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;point&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name&nbsp;&nbsp;CDATA #IMPLIED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
</ul>
<p><samp><font color="#800000">&nbsp;&nbsp; &lt;!ELEMENT <a name="e.breakpoint">breakpoint</a> EMPTY&gt;</font></samp>
<br><br><samp><font color="#800000">&nbsp;&nbsp; &lt;!ATTLIST breakpoint</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;markerType&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</samp>
<br><samp>&nbsp;&nbsp; &gt;</font></samp>
<ul>
<li><b>id</b> - specifies a unique identifier for this breakpoint type.</li>
<li><b>markerType</b> - specifies the fully qualified identifier (id) of the corresponding marker definition for breakpoints of this type.</li>
<li><b>class</b> - specifies the fully qualified name of the java class that implements <samp>IBreakpoint</samp>.</li>
</ul>
<b><i>Examples: </i></b>The following is an example of a launch configuration type extension point:
<p>
<pre>
<font color="#000080">&lt;extension point=<font color="#008000">&quot;org.eclipse.debug.core.breakpoints&quot;</font>&gt;</font>
<font color="#000080">&lt;breakpoint
id=<font color="#008000">&quot;com.example.ExampleBreakpoint&quot;</font>
markerType=<font color="#008000">&quot;com.example.ExampleBreakpointMarker&quot;</font>
class=<font color="#008000">&quot;com.example.ExampleBreakpointImpl&quot;</font>&gt;</font>
<font color="#000080">&lt;/breakpoint&gt;</font>
<font color="#000080">&lt;/extension&gt;</font>
</pre>
</p>
In the example above, the specified type of breakpoint is implemented by the class "com.example.BreakpointImpl".
There is an associated marker definition for "com.example.ExampleBreakpointMarker", defining the attributes of this breakpoint.<p>
<b><i>API Information: </i></b>Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.debug.core.model.IBreakpoint</b>.<p>
<font size="-1" color="#336699">
<p>
<a href="hglegal.htm">
<img SRC="ngibmcpy.gif"
ALT="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved."
BORDER=0 height=14 width=324></a>
</p><p>
</font>
</BODY>
</HTML>