Package | Description |
---|---|
oracle.ide.debugger.extender |
Classes and interfaces that comprise the public API for debugger extenders
|
oracle.ide.debugger.extender.breakpoint |
Classes and interfaces that comprise the breakpoint-related public API
for debugger extenders
|
Modifier and Type | Method and Description |
---|---|
DebuggerExtenderBreakpoint |
DebuggerExtenderCallback.addBreakpoint(DebuggerExtenderBreakpoint breakpoint)
Called by the DebuggerExtender to add a new breakpoint.
|
DebuggerExtenderBreakpoint |
DebuggerExtenderCallback.getDefaultBreakpointSettings()
Called by the DebuggerExtender to ask the Debugger for the settings
of a 'default' breakpoint.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.runToCursor(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a RunToCursor command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepInto(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepInto command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepOut(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepOut command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepOver(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepOver command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepToEndOfMethod(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepToEndOfMethod command.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends DebuggerExtenderBreakpoint> |
DebuggerExtenderCallback.getBreakpoints()
Called by the DebuggerExtender to get the list of breakpoints previously
added by this DebuggerExtender (and not deleted yet).
|
Modifier and Type | Method and Description |
---|---|
DebuggerExtenderBreakpoint |
DebuggerExtenderCallback.addBreakpoint(DebuggerExtenderBreakpoint breakpoint)
Called by the DebuggerExtender to add a new breakpoint.
|
void |
DebuggerExtender.breakpointAdded(DebuggerExtenderBreakpoint breakpoint)
Called by the Debugger when a breakpoint has been added.
|
void |
DebuggerExtender.breakpointChanged(DebuggerExtenderBreakpoint breakpoint,
DebuggerExtenderBreakpoint.BreakpointState newState)
Called by the Debugger when a previously added breakpoint has changed
|
void |
DebuggerExtender.breakpointDeleted(DebuggerExtenderBreakpoint breakpoint)
Called by the Debugger when a previously added breakpoint has been deleted
by the user.
|
void |
DebuggerExtender.breakpointInScope(DebuggerExtenderBreakpoint breakpoint)
Called by the debugger to tell the DebuggerExtender that a breakpoint has
become visible in the scope of the current context, and the Icon of the
breakpoint can be shown if appropriate.
|
void |
DebuggerExtender.breakpointOutOfScope(DebuggerExtenderBreakpoint breakpoint)
Called by the debugger to tell the DebuggerExtender that a breakpoint has
become invisible in the scope of the current context, and the Icon of the
breakpoint should be hidden if appropriate.
|
boolean |
DebuggerExtender.breakpointsEqual(DebuggerExtenderBreakpoint debuggerBreakpoint,
DebuggerExtenderBreakpoint debuggerExtenderBreakpoint)
Called by the debugger to ask the DebuggerExtender if two DebuggerExtenderBreakpoints
are equal.
|
boolean |
DebuggerExtender.canRunToCursor(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger determines if runToCursor is allowed at a
breakpoint.
|
boolean |
DebuggerExtender.canShowBreakpointLocation(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the debugger when actions are enabled/disabled to inquire if
the DebuggerExtender wants to disable the action that shows the location
corresponding to the breakpoint.
|
boolean |
DebuggerExtender.canShowIPLocation(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the debugger when the debuggee is stopped at a previously added
breakpoint.
|
boolean |
DebuggerExtender.canStepInto(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger determines if stepInto is allowed at a breakpoint.
|
boolean |
DebuggerExtender.canStepOut(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger determines if stepOut is allowed at a breakpoint.
|
boolean |
DebuggerExtender.canStepOver(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the debugger to determine if the DebuggerExtender wants to
override the StepOver behavior.
|
boolean |
DebuggerExtender.canStepToEndOfMethod(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger determines if stepToEndOfMethod is allowed at a
breakpoint.
|
void |
DebuggerExtender.debuggeeStoppedAtBreakpoint(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the Debugger when the debuggee has stopped at a previously added
breakpoint.
|
boolean |
DebuggerExtenderCallback.deleteBreakpoint(DebuggerExtenderBreakpoint breakpoint)
Called by the DebuggerExtender to delete a previously added breakpoint.
|
boolean |
DebuggerExtenderCallback.editBreakpoint(DebuggerExtenderBreakpoint breakpoint)
Called by the DebuggerExtender to ask the Debugger to show the dialog
where the user can edit the incoming breakpoint.
|
javax.swing.Icon |
DebuggerExtenderCallback.getBreakpointIcon(DebuggerExtenderBreakpoint breakpoint)
Called by the DebuggerExtender to get the icon that corresponds to the
current state of a previously added breakpoint in the context of the
current debugging process
|
DebuggerExtenderBreakpoint.BreakpointState |
DebuggerExtenderCallback.getBreakpointState(DebuggerExtenderBreakpoint breakpoint)
Called by the DebuggerExtender to get the current state of a previously
added breakpoint in the context of the current debugging process
|
DebuggerExtenderBreakpointPanel |
DebuggerExtender.getCustomBreakpointPanel(java.lang.String customBreakpointType,
DebuggerExtenderBreakpoint breakpoint,
javax.swing.event.ChangeListener changeListener)
Called by the debugger to ask the DebuggerExtender for the panel to
create or edit a custom breakpoint.
|
void |
DebuggerExtenderCallback.registerCustomBreakpointType(java.lang.String customBreakpointType,
DebuggerExtenderBreakpoint.BreakpointKind breakpointKind,
DebuggerExtenderBreakpoint breakpointTemplate)
Deprecated.
The programmatic way of registering breakpoint types is
discouraged. Instead register in a declarative way in extension.xml, as follows:
Use a fully qualified class name of an implementation of
oracle.ide.runner.DebuggerBreakpointDeclarator for the 'class' attribute
Use the unique type string of the breakpoint type for the 'type-string' attribute, such as 'ADF Breakpoint' Add a <hooks> section or use the existing one Add a <jdeveloper-hook> section or use the existing one <hooks> <jdeveloper-hook xmlns="http://xmlns.oracle.com/jdeveloper/1013/extension"> <debugger-hook> <debugger-extender-custom-breakpoint-type class="mycompany.MyDebuggerBreakpointDeclarator" type-string="My Breakpoint" /> </debugger-hook> </jdeveloper-hook> </hooks> |
DebuggerExtenderBreakpoint |
DebuggerExtender.runToCursor(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a RunToCursor command.
|
boolean |
DebuggerExtenderCallback.setEnableBreakpoint(DebuggerExtenderBreakpoint breakpoint,
boolean enable)
Called by the DebuggerExtender to set the preferred state of a previously
added breakpoint to enabled or disabled
|
boolean |
DebuggerExtender.showBreakpointLocation(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the debugger when the user double-clicks on a previously added
breakpoint.
|
boolean |
DebuggerExtender.showIPLocation(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the debugger when the debuggee is stopped at a previously added
breakpoint.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepInto(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepInto command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepOut(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepOut command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepOver(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepOver command.
|
DebuggerExtenderBreakpoint |
DebuggerExtender.stepToEndOfMethod(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called when the debugger will execute a StepToEndOfMethod command.
|
void |
DebuggerExtender.temporaryBreakpointSet(Context context,
DebuggerExtenderBreakpoint breakpoint)
Called by the debugger to tell the DebuggerExtender that the temporary
breakpoint, requested by the DebuggerExtender for the overriding stepping
behavior, has been set
|
void |
DebuggerExtender.updateBreakpointIcon(DebuggerExtenderBreakpoint breakpoint)
Called by the debugger to tell the DebuggerExtender that the Icon of a
breakpoint should be updated, which only makes sense if the breakpoint
is currently visible in the IDE.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DebuggerExtenderBreakpointDeclarator<B extends DebuggerExtenderBreakpoint>
Interface that helps with registering debugger extender custom breakpoint
types in a declarative way
Register in a declarative way in extension.xml, as follows:
Use a fully qualified class name of an implementation of
oracle.ide.debugger.extender.breakoint.DebuggerExtenderBreakpointDeclarator for the 'class' attribute
Use the unique type string of the breakpoint type for the 'type-string' attribute, such as 'ADF Breakpoint' Add a <hooks> section or use the existing one Add a <jdeveloper-hook> section or use the existing one <hooks> <jdeveloper-hook xmlns="http://xmlns.oracle.com/jdeveloper/1013/extension"> <debugger-hook> <debugger-extender-custom-breakpoint-type class="mycompany.MyDebuggerBreakpointDeclarator" type-string="My Breakpoint" /> </debugger-hook> </jdeveloper-hook> </hooks> |
Modifier and Type | Interface and Description |
---|---|
interface |
DebuggerExtenderExceptionBreakpoint
Defines an exception breakpoint
|
interface |
DebuggerExtenderFileLineBreakpoint
Defines a file/line breakpoint.
|
interface |
DebuggerExtenderMethodBreakpoint
Defines a method breakpoint
|
interface |
DebuggerExtenderPropertiesBreakpoint
Defines a properties breakpoint.
|
interface |
DebuggerExtenderURLLineBreakpoint
Defines a URL/line breakpoint.
|
Modifier and Type | Method and Description |
---|---|
DebuggerExtenderBreakpoint |
DebuggerExtenderBreakpointPanel.onOk()
Called after the user pressed the OK button of the breakpoint option
dialog, and the debugger is creating or modifying the breakpoint so it
will have all the changes made by the user through the dialog
|