|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.runner.Debugger
public abstract class Debugger
The Debugger
class provides methods that interact with the debugger.
Constructor Summary | |
---|---|
Debugger() |
Method Summary | |
---|---|
DebuggerExtenderCallback |
addDebuggerExtender(DebuggerExtender extender) Add a DebuggerExtender, which can augment and modify Debugger behavior |
abstract void |
addDebuggerListener(DebuggerAdapter debuggerListener) |
DebuggerWindowProviderCallback |
addDebuggerWindowProvider(DebuggerWindowProvider provider) Add a DebuggerWindowProvider, which will provide a custom debugger window |
void |
addInspectorExpressionProvider(DebuggerInspectorExpressionProvider expressionProvider) Add a DebuggerInspectorExpressionProvider which will be used to make a suitable inspector expression when the user requests an inspect and there is no selection in the editor |
abstract void |
addObjectPreferencesExpansion(java.lang.String className, java.lang.String expansion, boolean select) Add a string of items to evaluate when expanding objects of a specified class in the debugger. |
abstract void |
addObjectPreferencesExpression(java.lang.String className, java.lang.String expression, boolean select) Add an expression to evaluate when displaying objects of a specified class in the debugger. |
void |
addObjectPreferencesHideAllFields(java.lang.String className) Add an Object Preferences item indicating that all fields of a class should be hidden when that class is expanded in the debugger. |
void |
addObjectPreferencesHideField(java.lang.String className, java.lang.String fieldName) Add an Object Preferences item indicating that a field of a class should be hidden when that class is expanded in the debugger |
void |
addObjectPreferencesIcon(java.lang.String className, java.lang.String iconName) Add an Object Preferences item indicating the icon that should be used when a class of a certain name is displayed in the debugger data panes |
abstract void |
addRunAndDebugToContextMenu(ContextMenu popup, Context context) |
abstract void |
addSmartDataProvider(SmartDataProvider smartDataProvider) |
abstract void |
addToolTipExpressionProvider(ToolTipExpressionProvider toolTipExpressionProvider) |
abstract java.lang.Object |
evaluateNumericExpression(java.lang.String expression) Have the debugger evaluate a numeric expression. |
abstract ContextMenu |
getContextMenu() Returns the ContextMenu that the debugger uses in debugger windows. |
static Debugger |
getDebugger() Returns the active Debugger instance. |
abstract javax.swing.JMenu |
getDebugMenu() Returns the Debug menu that the debugger has added to the main menu bar. |
javax.swing.JMenu |
getViewMenu() Returns the View Debugger sub menu if it exists |
abstract boolean |
isDebugging() Returns true if the debugger is currently debugging one or more processes. |
abstract boolean |
isStackTraceLine(java.lang.String line) |
abstract java.net.URL |
parseStackTraceLine(Workspace workspace, Project project, java.lang.String stackTraceLine) |
abstract void |
redefineClasses(java.util.Map nameToGuts) Deprecated. |
abstract void |
redefineClasses(Project project, java.util.Map nameToGuts) Tells the debugger to redefine some classes that have been recompiled. |
void |
removeDebuggerExtender(DebuggerExtender extender) Remove a previously added DebuggerExtender. |
abstract void |
removeDebuggerListener(DebuggerAdapter debuggerListener) |
void |
removeDebuggerWindowProvider(DebuggerWindowProvider provider) Remove a previously added DebuggerWindowProvider. |
void |
removeInspectorExpressionProvider(DebuggerInspectorExpressionProvider expressionProvider) Remove a previously added DebuggerInspectorExpressionProvider |
abstract void |
removeSmartDataProvider(SmartDataProvider smartDataProvider) |
abstract void |
removeToolTipExpressionProvider(ToolTipExpressionProvider toolTipExpressionProvider) |
static void |
setDebugger(Debugger debugger) Sets the active Debugger instance. |
abstract boolean |
showSourceFileForStackTraceLine(Workspace workspace, Project project, java.lang.String stackTraceLine) |
abstract boolean |
showSourceFileForStackTraceLine(Workspace workspace, Project project, java.net.URL urlWithLine) |
abstract void |
startDebugger(Context context, DebuggerStartCallback callBack) Start the debugger with the given context with the options of providing a call back at different stages of the starting process |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Debugger()
Method Detail |
---|
public static Debugger getDebugger()
public static void setDebugger(Debugger debugger)
public abstract javax.swing.JMenu getDebugMenu()
public abstract ContextMenu getContextMenu()
ContextMenu
that the debugger uses in debugger windows.public javax.swing.JMenu getViewMenu()
public abstract boolean isDebugging()
public abstract void startDebugger(Context context, DebuggerStartCallback callBack)
context
- The context to start the debugger incallBack
- A call back to inform the caller of the progress
@Deprecated
public abstract void redefineClasses(java.util.Map nameToGuts)
nameToGuts
- a map where the keys are full class names (String) and the values are the guts of the class file (byte[]).public abstract void redefineClasses(Project project, java.util.Map nameToGuts)
project
- the project that was recompilednameToGuts
- a map where the keys are full class names (String) and the values are the guts of the class file (byte[]).public abstract boolean isStackTraceLine(java.lang.String line)
public abstract boolean showSourceFileForStackTraceLine(Workspace workspace, Project project, java.lang.String stackTraceLine)
public abstract java.net.URL parseStackTraceLine(Workspace workspace, Project project, java.lang.String stackTraceLine)
public abstract boolean showSourceFileForStackTraceLine(Workspace workspace, Project project, java.net.URL urlWithLine)
public abstract void addSmartDataProvider(SmartDataProvider smartDataProvider)
public abstract void removeSmartDataProvider(SmartDataProvider smartDataProvider)
public abstract void addToolTipExpressionProvider(ToolTipExpressionProvider toolTipExpressionProvider)
public abstract void removeToolTipExpressionProvider(ToolTipExpressionProvider toolTipExpressionProvider)
public abstract void addRunAndDebugToContextMenu(ContextMenu popup, Context context)
public abstract void addDebuggerListener(DebuggerAdapter debuggerListener)
public abstract void removeDebuggerListener(DebuggerAdapter debuggerListener)
public abstract java.lang.Object evaluateNumericExpression(java.lang.String expression)
public DebuggerWindowProviderCallback addDebuggerWindowProvider(DebuggerWindowProvider provider)
provider
- A DebuggerWindowProvider which should not be nullpublic void removeDebuggerWindowProvider(DebuggerWindowProvider provider)
provider
- A DebuggerWindowProvider which should not be nullpublic DebuggerExtenderCallback addDebuggerExtender(DebuggerExtender extender)
extender
- A DebuggerExtender which should not be nullpublic void removeDebuggerExtender(DebuggerExtender extender)
extender
- A DebuggerExtender which should not be nullpublic abstract void addObjectPreferencesExpression(java.lang.String className, java.lang.String expression, boolean select)
className
- the fully qualified name of a class to add an expression for.expression
- the expression to evaluate.select
- whether the expression is selected by default. If false, the expression is available as one of the selectable expressions for the className in the object preferences dialog.public abstract void addObjectPreferencesExpansion(java.lang.String className, java.lang.String expansion, boolean select)
className
- the fully qualified name of a class to add an expression for.expansion
- the string of items to evaluate.select
- whether the expansion is selected by default. If false, the expansion is available as one of the selectable expansions for the className in the object preferences dialog.public void addObjectPreferencesHideAllFields(java.lang.String className)
className
- the fully qualified name of a classpublic void addObjectPreferencesHideField(java.lang.String className, java.lang.String fieldName)
className
- the fully qualified name of a classfieldName
- the name of a field of that classpublic void addObjectPreferencesIcon(java.lang.String className, java.lang.String iconName)
className
- the fully qualified name of a classiconName
- the name of an icon such as "${OracleIcons.QUICK_NAV}" or "/oracle/jdevimpl/runner/debug/images/verifiedbreakpoint.png"public void addInspectorExpressionProvider(DebuggerInspectorExpressionProvider expressionProvider)
expressionProvider
- A DebuggerInspectorExpressionProvider which should not be nullpublic void removeInspectorExpressionProvider(DebuggerInspectorExpressionProvider expressionProvider)
expressionProvider
- A DebuggerInspectorExpressionProvider which should not be null
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |