Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.jbo.script.debug.client
Class BaseClient

java.lang.Object
  extended by oracle.jbo.script.debug.client.BaseClient

Direct Known Subclasses:
GUIClient, WebClient

public abstract class BaseClient
extends java.lang.Object

A facade that provides access to the services provided by the JPDA front end (JDI). An abstract debugger client may use this facade to connect to a JPDA debug machine and to fire commands and listen for events from that machine.

Since:
release specific (what release of product did this appear in)

Method Summary
protected  boolean checkInterrupted()
           
protected  void clearQueue()
           
 void connect()
          Connect to the debugger using default connection values.
 void connect(java.lang.String connname, java.lang.String... connargs)
           
protected  com.sun.jdi.StackFrame currentFrame()
          Returns the current StackFrame from the front-end.
protected  java.util.EventObject dequeueEvent()
           
protected  java.util.EventObject dequeueEvent(long timeout)
           
 void disconnect()
           
protected  java.lang.String displayType(com.sun.jdi.Value val, java.lang.String declaredType)
           
protected  java.lang.String displayValue(com.sun.jdi.Value val)
           
protected  com.sun.jdi.Value evaluate(int frameIndex, java.lang.String expr)
           
protected  com.sun.jdi.Value evaluate(java.lang.String expr)
           
 void executeCommand(java.lang.String cmd)
           
 void flushOutput()
           
 java.io.OutputStream getOutputBuffer()
           
static boolean isDebuggingEnabled()
          Determine if Scripts will route through the debugger on execution.
 void setLogDebugEvents(boolean logDebugEvents)
           
protected  java.lang.String toString(com.sun.jdi.Value val)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

isDebuggingEnabled

public static boolean isDebuggingEnabled()
Determine if Scripts will route through the debugger on execution.
Returns:
true if debugging is on, false if debugging is off

flushOutput

public void flushOutput()

getOutputBuffer

public java.io.OutputStream getOutputBuffer()

setLogDebugEvents

public void setLogDebugEvents(boolean logDebugEvents)

disconnect

public void disconnect()

connect

public void connect()
Connect to the debugger using default connection values.

connect

public void connect(java.lang.String connname,
                    java.lang.String... connargs)

executeCommand

public void executeCommand(java.lang.String cmd)

checkInterrupted

protected boolean checkInterrupted()

currentFrame

protected com.sun.jdi.StackFrame currentFrame()
Returns the current StackFrame from the front-end. Debug clients should not cache the current StackFrame, espcially across other JDI calls -- some JDI calls will invalidate the stack frame (see invokeMethod).

evaluate

protected com.sun.jdi.Value evaluate(java.lang.String expr)

evaluate

protected com.sun.jdi.Value evaluate(int frameIndex,
                                     java.lang.String expr)

toString

protected java.lang.String toString(com.sun.jdi.Value val)

displayValue

protected java.lang.String displayValue(com.sun.jdi.Value val)

displayType

protected java.lang.String displayType(com.sun.jdi.Value val,
                                       java.lang.String declaredType)

clearQueue

protected void clearQueue()

dequeueEvent

protected java.util.EventObject dequeueEvent()

dequeueEvent

protected java.util.EventObject dequeueEvent(long timeout)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


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