webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
WebCore::WorkerScriptDebugServer Class Referencefinal

#include <WorkerScriptDebugServer.h>

Inheritance diagram for WebCore::WorkerScriptDebugServer:
Inspector::ScriptDebugServer JSC::Debugger JSC::Debugger

Public Member Functions

 WorkerScriptDebugServer (WorkerGlobalScope &)
 
 ~WorkerScriptDebugServer ()
 
void recompileAllJSFunctions () override
 
- Public Member Functions inherited from Inspector::ScriptDebugServer
void setBreakpointActions (JSC::BreakpointID, const ScriptBreakpoint &)
 
void removeBreakpointActions (JSC::BreakpointID)
 
void clearBreakpointActions ()
 
const BreakpointActionsgetActionsForBreakpoint (JSC::BreakpointID)
 
void addListener (ScriptDebugListener *)
 
void removeListener (ScriptDebugListener *, bool isBeingDestroyed)
 
void setBreakpointActions (JSC::BreakpointID, const ScriptBreakpoint &)
 
void removeBreakpointActions (JSC::BreakpointID)
 
void clearBreakpointActions ()
 
const BreakpointActionsgetActionsForBreakpoint (JSC::BreakpointID)
 
void addListener (ScriptDebugListener *)
 
void removeListener (ScriptDebugListener *, bool isBeingDestroyed)
 
- Public Member Functions inherited from JSC::Debugger
 Debugger (VM &)
 
virtual ~Debugger ()
 
VMvm ()
 
JSC::DebuggerCallFramecurrentDebuggerCallFrame ()
 
bool hasHandlerForExceptionCallback () const
 
JSValue currentException ()
 
bool needsExceptionCallbacks () const
 
bool isInteractivelyDebugging () const
 
void attach (JSGlobalObject *)
 
void detach (JSGlobalObject *, ReasonForDetach)
 
bool isAttached (JSGlobalObject *)
 
void resolveBreakpoint (Breakpoint &, SourceProvider *)
 
BreakpointID setBreakpoint (Breakpoint &, bool &existing)
 
void removeBreakpoint (BreakpointID)
 
void clearBreakpoints ()
 
void activateBreakpoints ()
 
void deactivateBreakpoints ()
 
bool breakpointsActive () const
 
PauseOnExceptionsState pauseOnExceptionsState () const
 
void setPauseOnExceptionsState (PauseOnExceptionsState)
 
ReasonForPause reasonForPause () const
 
BreakpointID pausingBreakpointID () const
 
void setPauseOnNextStatement (bool)
 
void breakProgram ()
 
void continueProgram ()
 
void stepIntoStatement ()
 
void stepOverStatement ()
 
void stepOutOfFunction ()
 
bool isBlacklisted (SourceID) const
 
void addToBlacklist (SourceID)
 
void clearBlacklist ()
 
bool isPaused () const
 
bool isStepping () const
 
bool suppressAllPauses () const
 
void setSuppressAllPauses (bool suppress)
 
virtual void sourceParsed (ExecState *, SourceProvider *, int errorLineNumber, const WTF::String &errorMessage)=0
 
void exception (CallFrame *, JSValue exceptionValue, bool hasCatchHandler)
 
void atStatement (CallFrame *)
 
void atExpression (CallFrame *)
 
void callEvent (CallFrame *)
 
void returnEvent (CallFrame *)
 
void unwindEvent (CallFrame *)
 
void willExecuteProgram (CallFrame *)
 
void didExecuteProgram (CallFrame *)
 
void didReachBreakpoint (CallFrame *)
 
void registerCodeBlock (CodeBlock *)
 
void setProfilingClient (ProfilingClient *)
 
bool hasProfilingClient () const
 
bool isAlreadyProfiling () const
 
double willEvaluateScript ()
 
void didEvaluateScript (double startTime, ProfilingReason)
 
 Debugger (VM &)
 
virtual ~Debugger ()
 
VMvm ()
 
JSC::DebuggerCallFramecurrentDebuggerCallFrame ()
 
bool hasHandlerForExceptionCallback () const
 
JSValue currentException ()
 
bool needsExceptionCallbacks () const
 
bool isInteractivelyDebugging () const
 
void attach (JSGlobalObject *)
 
void detach (JSGlobalObject *, ReasonForDetach)
 
bool isAttached (JSGlobalObject *)
 
void resolveBreakpoint (Breakpoint &, SourceProvider *)
 
BreakpointID setBreakpoint (Breakpoint &, bool &existing)
 
void removeBreakpoint (BreakpointID)
 
void clearBreakpoints ()
 
void activateBreakpoints ()
 
void deactivateBreakpoints ()
 
bool breakpointsActive () const
 
PauseOnExceptionsState pauseOnExceptionsState () const
 
void setPauseOnExceptionsState (PauseOnExceptionsState)
 
ReasonForPause reasonForPause () const
 
BreakpointID pausingBreakpointID () const
 
void setPauseOnNextStatement (bool)
 
void breakProgram ()
 
void continueProgram ()
 
void stepIntoStatement ()
 
void stepOverStatement ()
 
void stepOutOfFunction ()
 
bool isBlacklisted (SourceID) const
 
void addToBlacklist (SourceID)
 
void clearBlacklist ()
 
bool isPaused () const
 
bool isStepping () const
 
bool suppressAllPauses () const
 
void setSuppressAllPauses (bool suppress)
 
virtual void sourceParsed (ExecState *, SourceProvider *, int errorLineNumber, const WTF::String &errorMessage)=0
 
void exception (CallFrame *, JSValue exceptionValue, bool hasCatchHandler)
 
void atStatement (CallFrame *)
 
void atExpression (CallFrame *)
 
void callEvent (CallFrame *)
 
void returnEvent (CallFrame *)
 
void unwindEvent (CallFrame *)
 
void willExecuteProgram (CallFrame *)
 
void didExecuteProgram (CallFrame *)
 
void didReachBreakpoint (CallFrame *)
 
void registerCodeBlock (CodeBlock *)
 
void setProfilingClient (ProfilingClient *)
 
bool hasProfilingClient () const
 
bool isAlreadyProfiling () const
 
double willEvaluateScript ()
 
void didEvaluateScript (double startTime, ProfilingReason)
 

Additional Inherited Members

- Public Types inherited from JSC::Debugger
enum  ReasonForDetach { TerminatingDebuggingSession, GlobalObjectIsDestructing, TerminatingDebuggingSession, GlobalObjectIsDestructing }
 
enum  PauseOnExceptionsState {
  DontPauseOnExceptions, PauseOnAllExceptions, PauseOnUncaughtExceptions, DontPauseOnExceptions,
  PauseOnAllExceptions, PauseOnUncaughtExceptions
}
 
enum  ReasonForPause {
  NotPaused, PausedForException, PausedAtStatement, PausedAtExpression,
  PausedBeforeReturn, PausedAtEndOfProgram, PausedForBreakpoint, PausedForDebuggerStatement,
  NotPaused, PausedForException, PausedAtStatement, PausedAtExpression,
  PausedBeforeReturn, PausedAtEndOfProgram, PausedForBreakpoint, PausedForDebuggerStatement
}
 
enum  ReasonForDetach { TerminatingDebuggingSession, GlobalObjectIsDestructing, TerminatingDebuggingSession, GlobalObjectIsDestructing }
 
enum  PauseOnExceptionsState {
  DontPauseOnExceptions, PauseOnAllExceptions, PauseOnUncaughtExceptions, DontPauseOnExceptions,
  PauseOnAllExceptions, PauseOnUncaughtExceptions
}
 
enum  ReasonForPause {
  NotPaused, PausedForException, PausedAtStatement, PausedAtExpression,
  PausedBeforeReturn, PausedAtEndOfProgram, PausedForBreakpoint, PausedForDebuggerStatement,
  NotPaused, PausedForException, PausedAtStatement, PausedAtExpression,
  PausedBeforeReturn, PausedAtEndOfProgram, PausedForBreakpoint, PausedForDebuggerStatement
}
 
- Protected Types inherited from Inspector::ScriptDebugServer
typedef HashSet< ScriptDebugListener * > ListenerSet
 
typedef void(ScriptDebugServer::* JavaScriptExecutionCallback) (ScriptDebugListener *)
 
typedef HashSet< ScriptDebugListener * > ListenerSet
 
typedef void(ScriptDebugServer::* JavaScriptExecutionCallback) (ScriptDebugListener *)
 
- Protected Member Functions inherited from Inspector::ScriptDebugServer
 ScriptDebugServer (JSC::VM &)
 
 ~ScriptDebugServer ()
 
bool evaluateBreakpointAction (const ScriptBreakpointAction &)
 
void dispatchFunctionToListeners (JavaScriptExecutionCallback)
 
void dispatchFunctionToListeners (const ListenerSet &listeners, JavaScriptExecutionCallback)
 
void dispatchDidPause (ScriptDebugListener *)
 
void dispatchDidContinue (ScriptDebugListener *)
 
void dispatchDidParseSource (const ListenerSet &listeners, JSC::SourceProvider *, bool isContentScript)
 
void dispatchFailedToParseSource (const ListenerSet &listeners, JSC::SourceProvider *, int errorLine, const String &errorMessage)
 
void dispatchBreakpointActionLog (JSC::ExecState *, const String &)
 
void dispatchBreakpointActionSound (JSC::ExecState *, int breakpointActionIdentifier)
 
void dispatchBreakpointActionProbe (JSC::ExecState *, const ScriptBreakpointAction &, JSC::JSValue sample)
 
 ScriptDebugServer (JSC::VM &)
 
 ~ScriptDebugServer ()
 
bool evaluateBreakpointAction (const ScriptBreakpointAction &)
 
void dispatchFunctionToListeners (JavaScriptExecutionCallback)
 
void dispatchFunctionToListeners (const ListenerSet &listeners, JavaScriptExecutionCallback)
 
void dispatchDidPause (ScriptDebugListener *)
 
void dispatchDidContinue (ScriptDebugListener *)
 
void dispatchDidParseSource (const ListenerSet &listeners, JSC::SourceProvider *, bool isContentScript)
 
void dispatchFailedToParseSource (const ListenerSet &listeners, JSC::SourceProvider *, int errorLine, const String &errorMessage)
 
void dispatchBreakpointActionLog (JSC::ExecState *, const String &)
 
void dispatchBreakpointActionSound (JSC::ExecState *, int breakpointActionIdentifier)
 
void dispatchBreakpointActionProbe (JSC::ExecState *, const ScriptBreakpointAction &, JSC::JSValue sample)
 
- Protected Attributes inherited from Inspector::ScriptDebugServer
bool m_doneProcessingDebuggerEvents { true }
 

Constructor & Destructor Documentation

◆ WorkerScriptDebugServer()

WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer ( WorkerGlobalScope context)

◆ ~WorkerScriptDebugServer()

WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer ( )
inline

Member Function Documentation

◆ recompileAllJSFunctions()

void WebCore::WorkerScriptDebugServer::recompileAllJSFunctions ( )
overridevirtual

Reimplemented from JSC::Debugger.


The documentation for this class was generated from the following files: