public final class InspectorDebugger extends DebuggerDomain
eventHandler| Constructor and Description |
|---|
InspectorDebugger(InspectorExecutionContext context,
boolean suspend,
ReadWriteLock domainLock) |
resumeddisable, enable, isEnabled, setEventHandlerpublic InspectorDebugger(InspectorExecutionContext context, boolean suspend, ReadWriteLock domainLock)
protected void notifyDisabled()
notifyDisabled in class Domainpublic void setAsyncCallStackDepth(int maxDepth)
throws CommandProcessException
setAsyncCallStackDepth in class DebuggerDomainCommandProcessExceptionpublic void setBlackboxPatterns(String[] patterns)
setBlackboxPatterns in class DebuggerDomainpublic void setPauseOnExceptions(String state) throws CommandProcessException
setPauseOnExceptions in class DebuggerDomainCommandProcessExceptionpublic Params getPossibleBreakpoints(Location start, Location end, boolean restrictToFunction) throws CommandProcessException
getPossibleBreakpoints in class DebuggerDomainCommandProcessExceptionpublic Params getScriptSource(String scriptId) throws CommandProcessException
getScriptSource in class DebuggerDomainCommandProcessExceptionpublic void pause()
pause in class DebuggerDomainpublic void resume(InspectServerSession.CommandPostProcessor postProcessor)
resume in class DebuggerDomainpublic void stepInto(InspectServerSession.CommandPostProcessor postProcessor)
stepInto in class DebuggerDomainpublic void stepOver(InspectServerSession.CommandPostProcessor postProcessor)
stepOver in class DebuggerDomainpublic void stepOut(InspectServerSession.CommandPostProcessor postProcessor)
stepOut in class DebuggerDomainpublic Params searchInContent(String scriptId, String query, boolean caseSensitive, boolean isRegex) throws CommandProcessException
searchInContent in class DebuggerDomainCommandProcessExceptionpublic void setBreakpointsActive(Optional<Boolean> active) throws CommandProcessException
setBreakpointsActive in class DebuggerDomainCommandProcessExceptionpublic void setSkipAllPauses(Optional<Boolean> skip) throws CommandProcessException
setSkipAllPauses in class DebuggerDomainCommandProcessExceptionpublic Params setBreakpointByUrl(String url, String urlRegex, int line, int column, String condition) throws CommandProcessException
setBreakpointByUrl in class DebuggerDomainCommandProcessExceptionpublic Params setBreakpoint(Location location, String condition) throws CommandProcessException
setBreakpoint in class DebuggerDomainCommandProcessExceptionpublic Params setBreakpointOnFunctionCall(String functionObjectId, String condition) throws CommandProcessException
setBreakpointOnFunctionCall in class DebuggerDomainCommandProcessExceptionpublic void removeBreakpoint(String id) throws CommandProcessException
removeBreakpoint in class DebuggerDomainCommandProcessExceptionpublic void continueToLocation(Location location, InspectServerSession.CommandPostProcessor postProcessor) throws CommandProcessException
continueToLocation in class DebuggerDomainCommandProcessExceptionpublic Params evaluateOnCallFrame(String callFrameId, String expressionOrig, String objectGroup, boolean includeCommandLineAPI, boolean silent, boolean returnByValue, boolean generatePreview, boolean throwOnSideEffect) throws CommandProcessException
evaluateOnCallFrame in class DebuggerDomainCommandProcessExceptionpublic Params restartFrame(long cmdId, String callFrameId, InspectServerSession.CommandPostProcessor postProcessor) throws CommandProcessException
restartFrame in class DebuggerDomainCommandProcessExceptionpublic void setVariableValue(int scopeNumber,
String variableName,
CallArgument newValue,
String callFrameId)
throws CommandProcessException
setVariableValue in class DebuggerDomainCommandProcessExceptionpublic void setReturnValue(CallArgument newValue) throws CommandProcessException
setReturnValue in class DebuggerDomainCommandProcessExceptionpublic boolean sourceMatchesBlackboxPatterns(com.oracle.truffle.api.source.Source source,
Pattern[] patterns)