Class InspectorDebugger
java.lang.Object
com.oracle.truffle.tools.chromeinspector.domains.Domain
com.oracle.truffle.tools.chromeinspector.domains.DebuggerDomain
com.oracle.truffle.tools.chromeinspector.InspectorDebugger
-
Field Summary
Fields inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
eventHandler -
Constructor Summary
ConstructorsConstructorDescriptionInspectorDebugger(InspectorExecutionContext context, boolean suspend, ReadWriteLock domainLock) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontinueToLocation(Location location, InspectServerSession.CommandPostProcessor postProcessor) voidvoiddoEnable()evaluateOnCallFrame(String callFrameId, String expressionOrig, String objectGroup, boolean includeCommandLineAPI, boolean silent, boolean returnByValue, boolean generatePreview, boolean throwOnSideEffect) getPossibleBreakpoints(Location start, Location end, boolean restrictToFunction) getScriptSource(String scriptId) protected voidvoidpause()voidrestartFrame(long cmdId, String callFrameId, InspectServerSession.CommandPostProcessor postProcessor) voidresume(InspectServerSession.CommandPostProcessor postProcessor) searchInContent(String scriptId, String query, boolean caseSensitive, boolean isRegex) voidsetAsyncCallStackDepth(int maxDepth) voidsetBlackboxPatterns(String[] patterns) setBreakpoint(Location location, String condition) setBreakpointByUrl(String url, String urlRegex, int line, int column, String condition) setBreakpointOnFunctionCall(String functionObjectId, String condition) voidsetBreakpointsActive(Optional<Boolean> active) voidsetPauseOnExceptions(String state) voidsetReturnValue(CallArgument newValue) voidsetSkipAllPauses(Optional<Boolean> skip) voidsetVariableValue(int scopeNumber, String variableName, CallArgument newValue, String callFrameId) booleansourceMatchesBlackboxPatterns(com.oracle.truffle.api.source.Source source, Pattern[] patterns) voidstepInto(InspectServerSession.CommandPostProcessor postProcessor) voidstepOut(InspectServerSession.CommandPostProcessor postProcessor) voidstepOver(InspectServerSession.CommandPostProcessor postProcessor) Methods inherited from class com.oracle.truffle.tools.chromeinspector.domains.DebuggerDomain
resumedMethods inherited from class com.oracle.truffle.tools.chromeinspector.domains.Domain
disable, enable, isEnabled, notifyClosing, setEventHandler
-
Constructor Details
-
InspectorDebugger
public InspectorDebugger(InspectorExecutionContext context, boolean suspend, ReadWriteLock domainLock)
-
-
Method Details
-
getUniqueDebuggerId
- Specified by:
getUniqueDebuggerIdin classDebuggerDomain
-
doEnable
-
doDisable
-
notifyDisabled
protected void notifyDisabled()- Overrides:
notifyDisabledin classDomain
-
setAsyncCallStackDepth
- Specified by:
setAsyncCallStackDepthin classDebuggerDomain- Throws:
CommandProcessException
-
setBlackboxPatterns
- Specified by:
setBlackboxPatternsin classDebuggerDomain
-
setPauseOnExceptions
- Specified by:
setPauseOnExceptionsin classDebuggerDomain- Throws:
CommandProcessException
-
getPossibleBreakpoints
public Params getPossibleBreakpoints(Location start, Location end, boolean restrictToFunction) throws CommandProcessException - Specified by:
getPossibleBreakpointsin classDebuggerDomain- Throws:
CommandProcessException
-
getScriptSource
- Specified by:
getScriptSourcein classDebuggerDomain- Throws:
CommandProcessException
-
pause
public void pause()- Specified by:
pausein classDebuggerDomain
-
resume
- Specified by:
resumein classDebuggerDomain
-
stepInto
- Specified by:
stepIntoin classDebuggerDomain
-
stepOver
- Specified by:
stepOverin classDebuggerDomain
-
stepOut
- Specified by:
stepOutin classDebuggerDomain
-
searchInContent
public Params searchInContent(String scriptId, String query, boolean caseSensitive, boolean isRegex) throws CommandProcessException - Specified by:
searchInContentin classDebuggerDomain- Throws:
CommandProcessException
-
setBreakpointsActive
- Specified by:
setBreakpointsActivein classDebuggerDomain- Throws:
CommandProcessException
-
setSkipAllPauses
- Specified by:
setSkipAllPausesin classDebuggerDomain- Throws:
CommandProcessException
-
setBreakpointByUrl
public Params setBreakpointByUrl(String url, String urlRegex, int line, int column, String condition) throws CommandProcessException - Specified by:
setBreakpointByUrlin classDebuggerDomain- Throws:
CommandProcessException
-
setBreakpoint
- Specified by:
setBreakpointin classDebuggerDomain- Throws:
CommandProcessException
-
setBreakpointOnFunctionCall
public Params setBreakpointOnFunctionCall(String functionObjectId, String condition) throws CommandProcessException - Specified by:
setBreakpointOnFunctionCallin classDebuggerDomain- Throws:
CommandProcessException
-
removeBreakpoint
- Specified by:
removeBreakpointin classDebuggerDomain- Throws:
CommandProcessException
-
continueToLocation
public void continueToLocation(Location location, InspectServerSession.CommandPostProcessor postProcessor) throws CommandProcessException - Specified by:
continueToLocationin classDebuggerDomain- Throws:
CommandProcessException
-
evaluateOnCallFrame
public Params evaluateOnCallFrame(String callFrameId, String expressionOrig, String objectGroup, boolean includeCommandLineAPI, boolean silent, boolean returnByValue, boolean generatePreview, boolean throwOnSideEffect) throws CommandProcessException - Specified by:
evaluateOnCallFramein classDebuggerDomain- Throws:
CommandProcessException
-
restartFrame
public Params restartFrame(long cmdId, String callFrameId, InspectServerSession.CommandPostProcessor postProcessor) throws CommandProcessException - Specified by:
restartFramein classDebuggerDomain- Throws:
CommandProcessException
-
setVariableValue
public void setVariableValue(int scopeNumber, String variableName, CallArgument newValue, String callFrameId) throws CommandProcessException - Specified by:
setVariableValuein classDebuggerDomain- Throws:
CommandProcessException
-
setReturnValue
- Specified by:
setReturnValuein classDebuggerDomain- Throws:
CommandProcessException
-
sourceMatchesBlackboxPatterns
public boolean sourceMatchesBlackboxPatterns(com.oracle.truffle.api.source.Source source, Pattern[] patterns)
-