blob: d11d5e8cd18c9159f3beeebf20ca8c9cb4a1ff39 [file] [log] [blame]
package test.prefs.example;
/**
* A breakpoint is capable of suspending the execution of a program at a
* specific location when a program is running in debug mode. Each breakpoint
* has an associated marker which stores and persists all attributes associated
* with a breakpoint.
* <p>
* A breakpoint is defined in two parts:
* <ol>
* <li>By an extension of kind <code>"org.eclipse.debug.core.breakpoints"</code>
* </li>
* <li>By a marker definition that corresponds to the above breakpoint extension
* </li>
* </ol>
* <p>
* For example, following is a definition of corresponding breakpoint and
* breakpoint marker definitions. Note that the <code>markerType</code>
* attribute defined by the breakpoint extension corresponds to the type of the
* marker definition.
*
* <pre>
* &lt;extension point="org.eclipse.debug.core.breakpoints"&gt;
* &lt;breakpoint
* id="com.example.Breakpoint"
* class="com.example.Breakpoint"
* markerType="com.example.BreakpointMarker"&gt;
* &lt;/breakpoint&gt;
* &lt;/extension&gt;
* &lt;extension point="org.eclipse.core.resources.markers"&gt;
* &lt;marker
* id="com.example.BreakpointMarker"
* super type="org.eclipse.debug.core.breakpointMarker"
* attribute name ="exampleAttribute"&gt;
* &lt;/marker&gt;
* &lt;/extension&gt;
* </pre>
* <p>
* The breakpoint manager instantiates persisted breakpoints by traversing all
* markers that are a subtype of
* <code>"org.eclipse.debug.core.breakpointMarker"</code>, and instantiating the
* class defined by the <code>class</code> attribute on the associated
* breakpoint extension. The method <code>setMarker</code> is then called to
* associate a marker with the breakpoint.
* </p>
* <p>
* Breakpoints may or may not be registered with the breakpoint manager, and are
* persisted and restored as such. Since marker definitions only allow all or
* none of a specific marker type to be persisted, breakpoints define a
* <code>PERSISTED</code> attribute for selective persistence of breakpoints of
* the same type.
* </p>
*
* @since 2.0
*/
public class X12 {
}