webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WebCore::WebDebuggerAgent Class Reference

#include <WebDebuggerAgent.h>

Inheritance diagram for WebCore::WebDebuggerAgent:
Inspector::InspectorDebuggerAgent Inspector::InspectorAgentBase Inspector::ScriptDebugListener Inspector::DebuggerBackendDispatcherHandler Inspector::InspectorAgentBase Inspector::ScriptDebugListener Inspector::DebuggerBackendDispatcherHandler WebCore::PageDebuggerAgent WebCore::WorkerDebuggerAgent

Public Member Functions

 WebDebuggerAgent (WebAgentContext &)
 
virtual ~WebDebuggerAgent ()
 
- Public Member Functions inherited from Inspector::InspectorDebuggerAgent
virtual ~InspectorDebuggerAgent ()
 
void didCreateFrontendAndBackend (FrontendRouter *, BackendDispatcher *) final
 
void willDestroyFrontendAndBackend (DisconnectReason) final
 
void enable (ErrorString &) final
 
void disable (ErrorString &) final
 
void setAsyncStackTraceDepth (ErrorString &, int depth) final
 
void setBreakpointsActive (ErrorString &, bool active) final
 
void setBreakpointByUrl (ErrorString &, int lineNumber, const String *const optionalURL, const String *const optionalURLRegex, const int *const optionalColumnNumber, const Inspector::InspectorObject *options, Inspector::Protocol::Debugger::BreakpointId *, RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Debugger::Location >> &locations) final
 
void setBreakpoint (ErrorString &, const Inspector::InspectorObject &location, const Inspector::InspectorObject *options, Inspector::Protocol::Debugger::BreakpointId *, RefPtr< Inspector::Protocol::Debugger::Location > &actualLocation) final
 
void removeBreakpoint (ErrorString &, const String &breakpointIdentifier) final
 
void continueUntilNextRunLoop (ErrorString &) final
 
void continueToLocation (ErrorString &, const InspectorObject &location) final
 
void searchInContent (ErrorString &, const String &scriptID, const String &query, const bool *const optionalCaseSensitive, const bool *const optionalIsRegex, RefPtr< Inspector::Protocol::Array< Inspector::Protocol::GenericTypes::SearchMatch >> &) final
 
void getScriptSource (ErrorString &, const String &scriptID, String *scriptSource) final
 
void getFunctionDetails (ErrorString &, const String &functionId, RefPtr< Inspector::Protocol::Debugger::FunctionDetails > &) final
 
void pause (ErrorString &) final
 
void resume (ErrorString &) final
 
void stepOver (ErrorString &) final
 
void stepInto (ErrorString &) final
 
void stepOut (ErrorString &) final
 
void setPauseOnExceptions (ErrorString &, const String &pauseState) final
 
void setPauseOnAssertions (ErrorString &, bool enabled) final
 
void evaluateOnCallFrame (ErrorString &, const String &callFrameId, const String &expression, const String *const objectGroup, const bool *const includeCommandLineAPI, const bool *const doNotPauseOnExceptionsAndMuteConsole, const bool *const returnByValue, const bool *const generatePreview, const bool *const saveResult, RefPtr< Inspector::Protocol::Runtime::RemoteObject > &result, Inspector::Protocol::OptOutput< bool > *wasThrown, Inspector::Protocol::OptOutput< int > *savedResultIndex) final
 
void setOverlayMessage (ErrorString &, const String *const) override
 
bool isPaused () const
 
bool breakpointsActive () const
 
void setSuppressAllPauses (bool)
 
void handleConsoleAssert (const String &message)
 
void didScheduleAsyncCall (JSC::ExecState *, int asyncCallType, int callbackIdentifier, bool singleShot)
 
void didCancelAsyncCall (int asyncCallType, int callbackIdentifier)
 
void willDispatchAsyncCall (int asyncCallType, int callbackIdentifier)
 
void didDispatchAsyncCall ()
 
void schedulePauseOnNextStatement (DebuggerFrontendDispatcher::Reason breakReason, RefPtr< InspectorObject > &&data)
 
void cancelPauseOnNextStatement ()
 
bool pauseOnNextStatementEnabled () const
 
void breakProgram (DebuggerFrontendDispatcher::Reason breakReason, RefPtr< InspectorObject > &&data)
 
void scriptExecutionBlockedByCSP (const String &directiveText)
 
void setListener (Listener *listener)
 
virtual ~InspectorDebuggerAgent ()
 
void didCreateFrontendAndBackend (FrontendRouter *, BackendDispatcher *) final
 
void willDestroyFrontendAndBackend (DisconnectReason) final
 
void enable (ErrorString &) final
 
void disable (ErrorString &) final
 
void setAsyncStackTraceDepth (ErrorString &, int depth) final
 
void setBreakpointsActive (ErrorString &, bool active) final
 
void setBreakpointByUrl (ErrorString &, int lineNumber, const String *const optionalURL, const String *const optionalURLRegex, const int *const optionalColumnNumber, const Inspector::InspectorObject *options, Inspector::Protocol::Debugger::BreakpointId *, RefPtr< Inspector::Protocol::Array< Inspector::Protocol::Debugger::Location >> &locations) final
 
void setBreakpoint (ErrorString &, const Inspector::InspectorObject &location, const Inspector::InspectorObject *options, Inspector::Protocol::Debugger::BreakpointId *, RefPtr< Inspector::Protocol::Debugger::Location > &actualLocation) final
 
void removeBreakpoint (ErrorString &, const String &breakpointIdentifier) final
 
void continueUntilNextRunLoop (ErrorString &) final
 
void continueToLocation (ErrorString &, const InspectorObject &location) final
 
void searchInContent (ErrorString &, const String &scriptID, const String &query, const bool *const optionalCaseSensitive, const bool *const optionalIsRegex, RefPtr< Inspector::Protocol::Array< Inspector::Protocol::GenericTypes::SearchMatch >> &) final
 
void getScriptSource (ErrorString &, const String &scriptID, String *scriptSource) final
 
void getFunctionDetails (ErrorString &, const String &functionId, RefPtr< Inspector::Protocol::Debugger::FunctionDetails > &) final
 
void pause (ErrorString &) final
 
void resume (ErrorString &) final
 
void stepOver (ErrorString &) final
 
void stepInto (ErrorString &) final
 
void stepOut (ErrorString &) final
 
void setPauseOnExceptions (ErrorString &, const String &pauseState) final
 
void setPauseOnAssertions (ErrorString &, bool enabled) final
 
void evaluateOnCallFrame (ErrorString &, const String &callFrameId, const String &expression, const String *const objectGroup, const bool *const includeCommandLineAPI, const bool *const doNotPauseOnExceptionsAndMuteConsole, const bool *const returnByValue, const bool *const generatePreview, const bool *const saveResult, RefPtr< Inspector::Protocol::Runtime::RemoteObject > &result, Inspector::Protocol::OptOutput< bool > *wasThrown, Inspector::Protocol::OptOutput< int > *savedResultIndex) final
 
void setOverlayMessage (ErrorString &, const String *const) override
 
bool isPaused () const
 
bool breakpointsActive () const
 
void setSuppressAllPauses (bool)
 
void handleConsoleAssert (const String &message)
 
void didScheduleAsyncCall (JSC::ExecState *, int asyncCallType, int callbackIdentifier, bool singleShot)
 
void didCancelAsyncCall (int asyncCallType, int callbackIdentifier)
 
void willDispatchAsyncCall (int asyncCallType, int callbackIdentifier)
 
void didDispatchAsyncCall ()
 
void schedulePauseOnNextStatement (DebuggerFrontendDispatcher::Reason breakReason, RefPtr< InspectorObject > &&data)
 
void cancelPauseOnNextStatement ()
 
bool pauseOnNextStatementEnabled () const
 
void breakProgram (DebuggerFrontendDispatcher::Reason breakReason, RefPtr< InspectorObject > &&data)
 
void scriptExecutionBlockedByCSP (const String &directiveText)
 
void setListener (Listener *listener)
 
- Public Member Functions inherited from Inspector::InspectorAgentBase
virtual ~InspectorAgentBase ()
 
String domainName () const
 
virtual void discardValues ()
 
virtual void discardAgent ()
 
virtual ~InspectorAgentBase ()
 
String domainName () const
 
virtual void discardValues ()
 
virtual void discardAgent ()
 
- Public Member Functions inherited from Inspector::ScriptDebugListener
virtual ~ScriptDebugListener ()
 
virtual void breakpointActionLog (JSC::ExecState &, const String &)=0
 
virtual ~ScriptDebugListener ()
 
virtual void breakpointActionLog (JSC::ExecState &, const String &)=0
 

Protected Member Functions

void enable () override
 
void disable (bool isBeingDestroyed) override
 
- Protected Member Functions inherited from Inspector::InspectorDebuggerAgent
 InspectorDebuggerAgent (AgentContext &)
 
InjectedScriptManagerinjectedScriptManager () const
 
virtual InjectedScript injectedScriptForEval (ErrorString &, const int *executionContextId)=0
 
ScriptDebugServerscriptDebugServer ()
 
virtual void muteConsole ()=0
 
virtual void unmuteConsole ()=0
 
void didPause (JSC::ExecState &, JSC::JSValue callFrames, JSC::JSValue exceptionOrCaughtValue) final
 
void didContinue () final
 
virtual String sourceMapURLForScript (const Script &)
 
void didClearGlobalObject ()
 
 InspectorDebuggerAgent (AgentContext &)
 
InjectedScriptManagerinjectedScriptManager () const
 
virtual InjectedScript injectedScriptForEval (ErrorString &, const int *executionContextId)=0
 
ScriptDebugServerscriptDebugServer ()
 
virtual void muteConsole ()=0
 
virtual void unmuteConsole ()=0
 
void didPause (JSC::ExecState &, JSC::JSValue callFrames, JSC::JSValue exceptionOrCaughtValue) final
 
void didContinue () final
 
virtual String sourceMapURLForScript (const Script &)
 
void didClearGlobalObject ()
 
- Protected Member Functions inherited from Inspector::InspectorAgentBase
 InspectorAgentBase (const String &name)
 
 InspectorAgentBase (const String &name)
 
- Protected Member Functions inherited from Inspector::DebuggerBackendDispatcherHandler
virtual ~DebuggerBackendDispatcherHandler ()
 
virtual ~DebuggerBackendDispatcherHandler ()
 

Protected Attributes

InstrumentingAgentsm_instrumentingAgents
 
- Protected Attributes inherited from Inspector::InspectorAgentBase
String m_name
 

Additional Inherited Members

- Public Types inherited from Inspector::DebuggerBackendDispatcherHandler
enum  State {
  State::None = 124, State::Uncaught = 164, State::All = 165, State::None = 124,
  State::Uncaught = 164, State::All = 165
}
 
enum  State {
  State::None = 124, State::Uncaught = 164, State::All = 165, State::None = 124,
  State::Uncaught = 164, State::All = 165
}
 
- Static Public Attributes inherited from Inspector::InspectorDebuggerAgent
static const char * backtraceObjectGroup = "backtrace"
 

Constructor & Destructor Documentation

◆ WebDebuggerAgent()

WebCore::WebDebuggerAgent::WebDebuggerAgent ( WebAgentContext context)

◆ ~WebDebuggerAgent()

virtual WebCore::WebDebuggerAgent::~WebDebuggerAgent ( )
inlinevirtual

Member Function Documentation

◆ disable()

void WebCore::WebDebuggerAgent::disable ( bool  isBeingDestroyed)
overrideprotectedvirtual

Reimplemented from Inspector::InspectorDebuggerAgent.

◆ enable()

void WebCore::WebDebuggerAgent::enable ( )
overrideprotectedvirtual

Reimplemented from Inspector::InspectorDebuggerAgent.

Member Data Documentation

◆ m_instrumentingAgents

InstrumentingAgents& WebCore::WebDebuggerAgent::m_instrumentingAgents
protected

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