Class DebuggerDomain
java.lang.Object
com.oracle.truffle.tools.chromeinspector.domains.Domain
com.oracle.truffle.tools.chromeinspector.domains.DebuggerDomain
-
Field Summary
Fields inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
eventHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidcontinueToLocation(Location location, InspectServerSession.CommandPostProcessor postProcessor) abstract ParamsevaluateOnCallFrame(String callFrameId, String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, boolean returnByValue, boolean generatePreview, boolean throwOnSideEffect) abstract ParamsgetPossibleBreakpoints(Location start, Location end, boolean restrictToFunction) abstract ParamsgetScriptSource(String scriptId) abstract Stringabstract voidpause()abstract voidabstract ParamsrestartFrame(long cmdId, String callFrameId, InspectServerSession.CommandPostProcessor postProcessor) abstract voidresume(InspectServerSession.CommandPostProcessor postProcessor) protected final voidresumed()abstract ParamssearchInContent(String scriptId, String query, boolean caseSensitive, boolean isRegex) abstract voidsetAsyncCallStackDepth(int maxDepth) abstract voidsetBlackboxPatterns(String[] patterns) abstract ParamssetBreakpoint(Location location, String condition) abstract ParamssetBreakpointByUrl(String url, String urlRegex, int line, int column, String condition) abstract ParamssetBreakpointOnFunctionCall(String functionObjectId, String condition) abstract voidsetBreakpointsActive(Optional<Boolean> breakpointsActive) abstract voidsetPauseOnExceptions(String state) abstract voidsetReturnValue(CallArgument newValue) abstract voidsetSkipAllPauses(Optional<Boolean> skip) abstract voidsetVariableValue(int scopeNumber, String variableName, CallArgument newValue, String callFrameId) abstract voidstepInto(InspectServerSession.CommandPostProcessor postProcessor) abstract voidstepOut(InspectServerSession.CommandPostProcessor postProcessor) abstract voidstepOver(InspectServerSession.CommandPostProcessor postProcessor) Methods inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
disable, doDisable, doEnable, enable, isEnabled, notifyClosing, notifyDisabled, setEventHandler
-
Constructor Details
-
DebuggerDomain
protected DebuggerDomain()
-
-
Method Details
-
getUniqueDebuggerId
-
setAsyncCallStackDepth
- Throws:
CommandProcessException
-
setBlackboxPatterns
-
setPauseOnExceptions
- Throws:
CommandProcessException
-
getPossibleBreakpoints
public abstract Params getPossibleBreakpoints(Location start, Location end, boolean restrictToFunction) throws CommandProcessException - Throws:
CommandProcessException
-
getScriptSource
- Throws:
CommandProcessException
-
pause
public abstract void pause() -
resume
-
stepInto
-
stepOver
-
stepOut
-
searchInContent
public abstract Params searchInContent(String scriptId, String query, boolean caseSensitive, boolean isRegex) throws CommandProcessException - Throws:
CommandProcessException
-
setBreakpointsActive
public abstract void setBreakpointsActive(Optional<Boolean> breakpointsActive) throws CommandProcessException - Throws:
CommandProcessException
-
setSkipAllPauses
- Throws:
CommandProcessException
-
setBreakpointByUrl
public abstract Params setBreakpointByUrl(String url, String urlRegex, int line, int column, String condition) throws CommandProcessException - Throws:
CommandProcessException
-
setBreakpoint
public abstract Params setBreakpoint(Location location, String condition) throws CommandProcessException - Throws:
CommandProcessException
-
setBreakpointOnFunctionCall
public abstract Params setBreakpointOnFunctionCall(String functionObjectId, String condition) throws CommandProcessException - Throws:
CommandProcessException
-
removeBreakpoint
- Throws:
CommandProcessException
-
continueToLocation
public abstract void continueToLocation(Location location, InspectServerSession.CommandPostProcessor postProcessor) throws CommandProcessException - Throws:
CommandProcessException
-
evaluateOnCallFrame
public abstract Params evaluateOnCallFrame(String callFrameId, String expression, String objectGroup, boolean includeCommandLineAPI, boolean silent, boolean returnByValue, boolean generatePreview, boolean throwOnSideEffect) throws CommandProcessException - Throws:
CommandProcessException
-
restartFrame
public abstract Params restartFrame(long cmdId, String callFrameId, InspectServerSession.CommandPostProcessor postProcessor) throws CommandProcessException - Throws:
CommandProcessException
-
setVariableValue
public abstract void setVariableValue(int scopeNumber, String variableName, CallArgument newValue, String callFrameId) throws CommandProcessException - Throws:
CommandProcessException
-
setReturnValue
- Throws:
CommandProcessException
-
resumed
protected final void resumed()
-