webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
WebCore::PageDebuggerAgent Class Referencefinal

#include <PageDebuggerAgent.h>

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

Public Member Functions

 PageDebuggerAgent (PageAgentContext &, InspectorPageAgent *, InspectorOverlay *)
 
virtual ~PageDebuggerAgent ()
 
void didClearMainFrameWindowObject ()
 
void mainFrameStartedLoading ()
 
void mainFrameStoppedLoading ()
 
void mainFrameNavigated ()
 
- Public Member Functions inherited from WebCore::WebDebuggerAgent
 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
 
String sourceMapURLForScript (const Script &) override
 
- Protected Member Functions inherited from WebCore::WebDebuggerAgent
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 ()
 
void didPause (JSC::ExecState &, JSC::JSValue callFrames, JSC::JSValue exceptionOrCaughtValue) final
 
void didContinue () final
 
void didClearGlobalObject ()
 
 InspectorDebuggerAgent (AgentContext &)
 
InjectedScriptManagerinjectedScriptManager () const
 
virtual InjectedScript injectedScriptForEval (ErrorString &, const int *executionContextId)=0
 
ScriptDebugServerscriptDebugServer ()
 
void didPause (JSC::ExecState &, JSC::JSValue callFrames, JSC::JSValue exceptionOrCaughtValue) final
 
void didContinue () final
 
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 ()
 

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"
 
- Protected Attributes inherited from WebCore::WebDebuggerAgent
InstrumentingAgentsm_instrumentingAgents
 
- Protected Attributes inherited from Inspector::InspectorAgentBase
String m_name
 

Constructor & Destructor Documentation

◆ PageDebuggerAgent()

WebCore::PageDebuggerAgent::PageDebuggerAgent ( PageAgentContext context,
InspectorPageAgent pageAgent,
InspectorOverlay overlay 
)

◆ ~PageDebuggerAgent()

virtual WebCore::PageDebuggerAgent::~PageDebuggerAgent ( )
inlinevirtual

Member Function Documentation

◆ didClearMainFrameWindowObject()

void WebCore::PageDebuggerAgent::didClearMainFrameWindowObject ( )

◆ disable()

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

Reimplemented from Inspector::InspectorDebuggerAgent.

◆ enable()

void WebCore::PageDebuggerAgent::enable ( )
overrideprotectedvirtual

Reimplemented from Inspector::InspectorDebuggerAgent.

◆ mainFrameNavigated()

void WebCore::PageDebuggerAgent::mainFrameNavigated ( )

◆ mainFrameStartedLoading()

void WebCore::PageDebuggerAgent::mainFrameStartedLoading ( )

◆ mainFrameStoppedLoading()

void WebCore::PageDebuggerAgent::mainFrameStoppedLoading ( )

◆ sourceMapURLForScript()

String WebCore::PageDebuggerAgent::sourceMapURLForScript ( const Script script)
overrideprotectedvirtual

Reimplemented from Inspector::InspectorDebuggerAgent.


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