public interface DebugContext
Modifier and Type | Interface and Description |
---|---|
static interface |
DebugContext.ContinueCallback
A callback for the "continue" request.
|
static class |
DebugContext.State
The suspension state.
|
static class |
DebugContext.StepAction
JavaScript debugger step actions.
|
Modifier and Type | Method and Description |
---|---|
void |
continueVm(DebugContext.StepAction stepAction,
int stepCount,
DebugContext.ContinueCallback callback)
Deprecated.
|
RelayOk |
continueVm(DebugContext.StepAction stepAction,
int stepCount,
DebugContext.ContinueCallback callback,
SyncCallback syncCallback)
Resumes the JavaScript VM execution using a "continue" request.
|
java.util.Collection<? extends Breakpoint> |
getBreakpointsHit() |
java.util.List<? extends CallFrame> |
getCallFrames() |
RemoteValueMapping |
getDefaultRemoteValueMapping() |
ExceptionData |
getExceptionData() |
JsEvaluateContext |
getGlobalEvaluateContext() |
JavascriptVm |
getJavascriptVm() |
DebugContext.State |
getState() |
DebugContext.State getState()
ExceptionData getExceptionData()
null
if current state is
not EXCEPTION
getState()
java.util.List<? extends CallFrame> getCallFrames()
MethodIsBlockingException
- if called from a callback because it may
need to load necessary scriptsjava.util.Collection<? extends Breakpoint> getBreakpointsHit()
RelayOk continueVm(DebugContext.StepAction stepAction, int stepCount, DebugContext.ContinueCallback callback, SyncCallback syncCallback)
DebugEventListener.suspended(DebugContext)
event.stepAction
- to performstepCount
- steps to perform (not used if
stepAction == CONTINUE
)callback
- to invoke when the request result is readyvoid continueVm(DebugContext.StepAction stepAction, int stepCount, DebugContext.ContinueCallback callback)
continueVm(StepAction, int, ContinueCallback, SyncCallback)
JsEvaluateContext getGlobalEvaluateContext()
JavascriptVm getJavascriptVm()
JavascriptVm
instance this context was created forRemoteValueMapping getDefaultRemoteValueMapping()
DebugContext
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.