StarOffice 5.2 API
reverse engineered by classdoc

stardiv.js.ip
Class Debugger

java.lang.Object
  |
  +--stardiv.js.ip.Debugger

public synchronized class Debugger
extends java.lang.Object


Field Summary
static int DBG_BREAK_NOW
           
static int DBG_BREAK_POINT
           
static int DBG_ERROR
           
static int DBG_FINISH_NOW
           
static int DBG_IGNORE_BREAK
           
static int DBG_OFF
           
static int DBG_PCODE_STEP_INTO
           
static int DBG_PCODE_STEP_OVER
           
static int DBG_STEP_INTO
           
static int DBG_STEP_OUT
           
static int DBG_STEP_OVER
           
static java.lang.String ModeStr_ON_ERROR
           
static java.lang.String ModeStr_ON_STEP
           
static java.lang.String ModeStr_ON_STEP_BUT_EVENTS
           
static int ON_ERROR
           
static int ON_STEP
           
static int ON_STEP_BUT_EVENTS
           
private  stardiv.js.ip.DbgViewerHandler aDbgViewer
           
private static stardiv.js.ip.IpRef aHelpIpRef
           
private  stardiv.memory.Vector aNativeDbgListenerVector
           
private  stardiv.memory.Vector aWatchVector
           
private  boolean bBreakState
           
private  boolean bChangeCallLevel
           
(package private)  boolean bDoIpCallback
           
(package private)  boolean bIpBreak
           
private  boolean bSetExpr
           
private  boolean bShowFunction
           
private  boolean bStopCalled
           
private  boolean bUpdateDebugger
           
private  int iChangedCallLevel
           
static int iDbgMode
           
static int nIdeFontSize
           
private  stardiv.js.ip.CodeBlock pActCodeBlock
           
private  stardiv.js.ip.SourceFunction pActFunction
           
private  stardiv.js.ip.JSThread pActiveThread
           
private  stardiv.js.ip.Ip pAwakeIp
           
private  stardiv.memory.Vector pThreadVector
           
private  java.lang.String sBrowseObjName
           
private  java.lang.String sSetExpr
           
 
Constructor Summary
Debugger()
           
 
Method Summary
(package private)  void IpCallback()
           
private  void SignalBrowseIt()
           
private  void SignalChangeCallLevel(int i)
           
private  void SignalFunction()
           
private  void SignalSetExpr()
           
 void addNativeDbgListener(stardiv.js.ip.NativeDbgListener ndl)
           
 void breakCallback(int i1, stardiv.js.ip.BaseObj bo, stardiv.js.ip.Ip i2, stardiv.js.ip.CallItem ci, int i3, java.lang.Throwable t)
           
 java.lang.String cppDbgEval(java.lang.String s1, short s2)
           
 java.lang.String cppDumpVariable(java.lang.String s1, short s2)
           
 java.lang.String[] cppGetLocalVariables(short s)
           
 java.lang.String[] cppGetStackTrace()
           
 boolean cppIsVariable(java.lang.String s1, short s2)
           
 void cppSetVariable(java.lang.String s1, java.lang.String s2, short s3)
           
 void dbgTaskDoneCallback(stardiv.js.ip.BaseObj bo, int i1, java.lang.Object o, int i2, java.lang.Throwable t)
           
 void doBreak()
           
 void doBrowseObj(java.lang.String s)
           
 void doChangeCallLevel(int i)
           
 void doClearAllBreakPoints()
           
 void doFinishNow(stardiv.js.ip.BaseObj bo)
           
private  void doFireRunning(stardiv.js.ip.BaseObj bo, stardiv.memory.Vector v)
           
 void doPCodeStepContinue(stardiv.js.ip.BaseObj bo)
           
 void doPCodeStepOverContinue(stardiv.js.ip.BaseObj bo)
           
 void doRunContinue(stardiv.js.ip.BaseObj bo)
           
 void doSelectFunction(int i)
           
 void doSelectModule(int i)
           
 void doSelectThread(int i)
           
 void doSetVar(java.lang.String s)
           
 void doSetWatchVector(stardiv.memory.Vector v)
           
 void doStepContinue(stardiv.js.ip.BaseObj bo)
           
 void doStepOutContinue(stardiv.js.ip.BaseObj bo)
           
 void doStepOverContinue(stardiv.js.ip.BaseObj bo)
           
 void doStop()
           
 void doToggleBreakPoint(int i)
           
static java.lang.String getBreakFlagString(int i)
           
private  java.lang.String getCallStack(stardiv.js.ip.Ip i)
           
 int getContextEndColumn(stardiv.js.ip.RootTaskManager rtm, short s)
           
 int getContextEndLine(stardiv.js.ip.RootTaskManager rtm, short s)
           
 java.lang.String getContextModuleName(stardiv.js.ip.RootTaskManager rtm, short s)
           
 int getContextStartColumn(stardiv.js.ip.RootTaskManager rtm, short s)
           
 int getContextStartLine(stardiv.js.ip.RootTaskManager rtm, short s)
           
private  java.lang.String getExprStack(stardiv.js.ip.Ip i)
           
private  stardiv.js.ip.SourceFunction getFunctionFromMenuPos(int i)
           
private  java.lang.String getLocalVar(stardiv.js.ip.Ip i1, int i2)
           
 int getNoOfModules()
           
private  java.lang.String getObjectInfo(stardiv.js.ip.Ip i, java.lang.String s, stardiv.js.ip.CallItem ci)
           
private  java.lang.String getObjectInfo(stardiv.js.ip.Ip i, stardiv.js.ip.BaseObj bo, stardiv.js.ip.CallItem ci)
           
private  java.lang.String[] getWatchInfo(stardiv.js.ip.Ip i, stardiv.js.ip.CallItem ci)
           
 void removeNativeDbgListener(stardiv.js.ip.NativeDbgListener ndl)
           
private  stardiv.js.ip.JSThread searchJSThreadForRTM(stardiv.js.ip.RootTaskManager rtm)
           
 void setDbgViewerHandler(stardiv.js.ip.DbgViewerHandler dvh)
           
private  void unBlock(stardiv.js.ip.Ip i)
           
private  void unBlockAll()
           
static void updateDbgMode(java.lang.String s)
           
private  void updateDebugger(stardiv.js.ip.JSThread jst)
           
private  void updateInfosForIde()
           
private  void updateThreadsForIde()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG_BREAK_NOW

public static final int DBG_BREAK_NOW

DBG_BREAK_POINT

public static final int DBG_BREAK_POINT

DBG_ERROR

public static final int DBG_ERROR

DBG_FINISH_NOW

public static final int DBG_FINISH_NOW

DBG_IGNORE_BREAK

public static final int DBG_IGNORE_BREAK

DBG_OFF

public static final int DBG_OFF

DBG_PCODE_STEP_INTO

public static final int DBG_PCODE_STEP_INTO

DBG_PCODE_STEP_OVER

public static final int DBG_PCODE_STEP_OVER

DBG_STEP_INTO

public static final int DBG_STEP_INTO

DBG_STEP_OUT

public static final int DBG_STEP_OUT

DBG_STEP_OVER

public static final int DBG_STEP_OVER

ModeStr_ON_ERROR

public static final java.lang.String ModeStr_ON_ERROR

ModeStr_ON_STEP

public static final java.lang.String ModeStr_ON_STEP

ModeStr_ON_STEP_BUT_EVENTS

public static final java.lang.String ModeStr_ON_STEP_BUT_EVENTS

ON_ERROR

public static final int ON_ERROR

ON_STEP

public static final int ON_STEP

ON_STEP_BUT_EVENTS

public static final int ON_STEP_BUT_EVENTS

aDbgViewer

private stardiv.js.ip.DbgViewerHandler aDbgViewer

aHelpIpRef

private static stardiv.js.ip.IpRef aHelpIpRef

aNativeDbgListenerVector

private stardiv.memory.Vector aNativeDbgListenerVector

aWatchVector

private stardiv.memory.Vector aWatchVector

bBreakState

private boolean bBreakState

bChangeCallLevel

private boolean bChangeCallLevel

bDoIpCallback

boolean bDoIpCallback

bIpBreak

boolean bIpBreak

bSetExpr

private boolean bSetExpr

bShowFunction

private boolean bShowFunction

bStopCalled

private boolean bStopCalled

bUpdateDebugger

private boolean bUpdateDebugger

iChangedCallLevel

private int iChangedCallLevel

iDbgMode

public static int iDbgMode

nIdeFontSize

public static int nIdeFontSize

pActCodeBlock

private stardiv.js.ip.CodeBlock pActCodeBlock

pActFunction

private stardiv.js.ip.SourceFunction pActFunction

pActiveThread

private stardiv.js.ip.JSThread pActiveThread

pAwakeIp

private stardiv.js.ip.Ip pAwakeIp

pThreadVector

private stardiv.memory.Vector pThreadVector

sBrowseObjName

private java.lang.String sBrowseObjName

sSetExpr

private java.lang.String sSetExpr
Constructor Detail

Debugger

public Debugger()
Method Detail

IpCallback

final void IpCallback()

SignalBrowseIt

private final void SignalBrowseIt()

SignalChangeCallLevel

private final void SignalChangeCallLevel(int i)

SignalFunction

private final void SignalFunction()

SignalSetExpr

private final void SignalSetExpr()

addNativeDbgListener

public void addNativeDbgListener(stardiv.js.ip.NativeDbgListener ndl)

breakCallback

public void breakCallback(int i1,
                          stardiv.js.ip.BaseObj bo,
                          stardiv.js.ip.Ip i2,
                          stardiv.js.ip.CallItem ci,
                          int i3,
                          java.lang.Throwable t)
                   throws stardiv.js.base.JSException

cppDbgEval

public java.lang.String cppDbgEval(java.lang.String s1,
                                   short s2)

cppDumpVariable

public java.lang.String cppDumpVariable(java.lang.String s1,
                                        short s2)

cppGetLocalVariables

public java.lang.String[] cppGetLocalVariables(short s)

cppGetStackTrace

public java.lang.String[] cppGetStackTrace()

cppIsVariable

public boolean cppIsVariable(java.lang.String s1,
                             short s2)

cppSetVariable

public void cppSetVariable(java.lang.String s1,
                           java.lang.String s2,
                           short s3)

dbgTaskDoneCallback

public void dbgTaskDoneCallback(stardiv.js.ip.BaseObj bo,
                                int i1,
                                java.lang.Object o,
                                int i2,
                                java.lang.Throwable t)

doBreak

public final void doBreak()

doBrowseObj

public final void doBrowseObj(java.lang.String s)

doChangeCallLevel

public final void doChangeCallLevel(int i)

doClearAllBreakPoints

public final void doClearAllBreakPoints()

doFinishNow

public final void doFinishNow(stardiv.js.ip.BaseObj bo)

doFireRunning

private final void doFireRunning(stardiv.js.ip.BaseObj bo,
                                 stardiv.memory.Vector v)

doPCodeStepContinue

public final void doPCodeStepContinue(stardiv.js.ip.BaseObj bo)

doPCodeStepOverContinue

public final void doPCodeStepOverContinue(stardiv.js.ip.BaseObj bo)

doRunContinue

public final void doRunContinue(stardiv.js.ip.BaseObj bo)

doSelectFunction

public final void doSelectFunction(int i)

doSelectModule

public final void doSelectModule(int i)

doSelectThread

public final void doSelectThread(int i)

doSetVar

public final void doSetVar(java.lang.String s)

doSetWatchVector

public final void doSetWatchVector(stardiv.memory.Vector v)

doStepContinue

public final void doStepContinue(stardiv.js.ip.BaseObj bo)

doStepOutContinue

public final void doStepOutContinue(stardiv.js.ip.BaseObj bo)

doStepOverContinue

public final void doStepOverContinue(stardiv.js.ip.BaseObj bo)

doStop

public void doStop()

doToggleBreakPoint

public final void doToggleBreakPoint(int i)

getBreakFlagString

public static final java.lang.String getBreakFlagString(int i)

getCallStack

private final java.lang.String getCallStack(stardiv.js.ip.Ip i)

getContextEndColumn

public int getContextEndColumn(stardiv.js.ip.RootTaskManager rtm,
                               short s)

getContextEndLine

public int getContextEndLine(stardiv.js.ip.RootTaskManager rtm,
                             short s)

getContextModuleName

public java.lang.String getContextModuleName(stardiv.js.ip.RootTaskManager rtm,
                                             short s)

getContextStartColumn

public int getContextStartColumn(stardiv.js.ip.RootTaskManager rtm,
                                 short s)

getContextStartLine

public int getContextStartLine(stardiv.js.ip.RootTaskManager rtm,
                               short s)

getExprStack

private final java.lang.String getExprStack(stardiv.js.ip.Ip i)

getFunctionFromMenuPos

private final stardiv.js.ip.SourceFunction getFunctionFromMenuPos(int i)

getLocalVar

private final java.lang.String getLocalVar(stardiv.js.ip.Ip i1,
                                           int i2)

getNoOfModules

public final int getNoOfModules()

getObjectInfo

private final java.lang.String getObjectInfo(stardiv.js.ip.Ip i,
                                             java.lang.String s,
                                             stardiv.js.ip.CallItem ci)

getObjectInfo

private final java.lang.String getObjectInfo(stardiv.js.ip.Ip i,
                                             stardiv.js.ip.BaseObj bo,
                                             stardiv.js.ip.CallItem ci)

getWatchInfo

private final java.lang.String[] getWatchInfo(stardiv.js.ip.Ip i,
                                              stardiv.js.ip.CallItem ci)

removeNativeDbgListener

public void removeNativeDbgListener(stardiv.js.ip.NativeDbgListener ndl)

searchJSThreadForRTM

private stardiv.js.ip.JSThread searchJSThreadForRTM(stardiv.js.ip.RootTaskManager rtm)

setDbgViewerHandler

public void setDbgViewerHandler(stardiv.js.ip.DbgViewerHandler dvh)

unBlock

private final void unBlock(stardiv.js.ip.Ip i)

unBlockAll

private final void unBlockAll()

updateDbgMode

public static void updateDbgMode(java.lang.String s)

updateDebugger

private final void updateDebugger(stardiv.js.ip.JSThread jst)

updateInfosForIde

private final void updateInfosForIde()

updateThreadsForIde

private final void updateThreadsForIde()

StarOffice 5.2 API
reverse engineered by classdoc