Extension SDK 10.1.2

oracle.ide.runner
Class Debugger

java.lang.Object
  extended byoracle.ide.runner.Debugger

public abstract class Debugger
extends java.lang.Object

The Debugger class provides methods that interact with the debugger.


Constructor Summary
Debugger()
           
 
Method Summary
abstract  void addRunAndDebugToContextMenu(ContextMenu popup, Context context)
           
abstract  void addSmartDataProvider(SmartDataProvider smartDataProvider)
           
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.
abstract  boolean isDebugging()
          Returns true if the debugger is currently debugging one or more processes.
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.
abstract  void removeSmartDataProvider(SmartDataProvider smartDataProvider)
           
static void setDebugger(Debugger debugger)
          Sets the active Debugger instance.
abstract  boolean showSourceFileForStackTraceLine(Workspace workspace, Project project, java.net.URL urlWithLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Debugger

public Debugger()
Method Detail

getDebugger

public static Debugger getDebugger()
Returns the active Debugger instance.


setDebugger

public static void setDebugger(Debugger debugger)
Sets the active Debugger instance.


getDebugMenu

public abstract javax.swing.JMenu getDebugMenu()
Returns the Debug menu that the debugger has added to the main menu bar.

Returns:
the Debug menu

getContextMenu

public abstract ContextMenu getContextMenu()
Returns the ContextMenu that the debugger uses in debugger windows.

Returns:
the debugger context menu

isDebugging

public abstract boolean isDebugging()
Returns true if the debugger is currently debugging one or more processes.


redefineClasses

public abstract void redefineClasses(java.util.Map nameToGuts)
Deprecated.  

Tells the debugger to redefine some classes. Note that the debugger may choose to perform the class redefinition asynchronously. It is not guaranteed that the class redefinition will be finished when this method returns.

Parameters:
nameToGuts - a map where the keys are full class names (String) and the values are the guts of the class file (byte[]).

redefineClasses

public abstract void redefineClasses(Project project,
                                     java.util.Map nameToGuts)
Tells the debugger to redefine some classes that have been recompiled. Note that the debugger may choose to perform the class redefinition asynchronously. It is not guaranteed that the class redefinition will be finished when this method returns.

Parameters:
project - the project that was recompiled
nameToGuts - a map where the keys are full class names (String) and the values are the guts of the class file (byte[]).

parseStackTraceLine

public abstract java.net.URL parseStackTraceLine(Workspace workspace,
                                                 Project project,
                                                 java.lang.String stackTraceLine)

showSourceFileForStackTraceLine

public abstract boolean showSourceFileForStackTraceLine(Workspace workspace,
                                                        Project project,
                                                        java.net.URL urlWithLine)

addSmartDataProvider

public abstract void addSmartDataProvider(SmartDataProvider smartDataProvider)

removeSmartDataProvider

public abstract void removeSmartDataProvider(SmartDataProvider smartDataProvider)

addRunAndDebugToContextMenu

public abstract void addRunAndDebugToContextMenu(ContextMenu popup,
                                                 Context context)

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.