Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
NativeDebugger Class Reference
+ Inheritance diagram for NativeDebugger:
+ Collaboration diagram for NativeDebugger:

Public Member Functions

 NativeDebugger (QQmlNativeDebugServiceImpl *service, QV4::ExecutionEngine *engine)
 
void signalEmitted (const QString &signal)
 
QV4::ExecutionEngineengine () const
 
bool pauseAtNextOpportunity () const override
 
void maybeBreakAtInstruction () override
 
void enteringFunction () override
 
void leavingFunction (const QV4::ReturnedValue &retVal) override
 
void aboutToThrow () override
 
void handleCommand (QJsonObject *response, const QString &cmd, const QJsonObject &arguments)
 
- Public Member Functions inherited from QV4::Debugging::Debugger
bool pauseAtNextOpportunity () const
 
void maybeBreakAtInstruction ()
 
void enteringFunction ()
 
void leavingFunction (const ReturnedValue &)
 
void aboutToThrow ()
 

Detailed Description

Definition at line 147 of file qqmlnativedebugservice.cpp.

Constructor & Destructor Documentation

◆ NativeDebugger()

NativeDebugger::NativeDebugger ( QQmlNativeDebugServiceImpl * service,
QV4::ExecutionEngine * engine )

Definition at line 242 of file qqmlnativedebugservice.cpp.

References engine(), and TRACE_PROTOCOL.

+ Here is the call graph for this function:

Member Function Documentation

◆ aboutToThrow()

void NativeDebugger::aboutToThrow ( )
override

Definition at line 613 of file qqmlnativedebugservice.cpp.

References QQmlNativeDebugServiceImpl::emitAsynchronousMessageToClient(), BreakPointHandler::m_breakOnThrow, and QStringLiteral.

+ Here is the call graph for this function:

◆ engine()

QV4::ExecutionEngine * NativeDebugger::engine ( ) const
inline

Definition at line 154 of file qqmlnativedebugservice.cpp.

Referenced by NativeDebugger().

+ Here is the caller graph for this function:

◆ enteringFunction()

void NativeDebugger::enteringFunction ( )
override

Definition at line 591 of file qqmlnativedebugservice.cpp.

References QV4::EngineBase::currentStackFrame.

◆ handleCommand()

void NativeDebugger::handleCommand ( QJsonObject * response,
const QString & cmd,
const QJsonObject & arguments )

Definition at line 271 of file qqmlnativedebugservice.cpp.

References arguments.

◆ leavingFunction()

void NativeDebugger::leavingFunction ( const QV4::ReturnedValue & retVal)
override

Definition at line 601 of file qqmlnativedebugservice.cpp.

References QV4::EngineBase::currentStackFrame, QV4::CppStackFrame::parentFrame(), and QV4::PersistentValue::set().

+ Here is the call graph for this function:

◆ maybeBreakAtInstruction()

void NativeDebugger::maybeBreakAtInstruction ( )
override

Definition at line 559 of file qqmlnativedebugservice.cpp.

References QV4::EngineBase::currentStackFrame, QV4::CppStackFrame::lineNumber(), and BreakPointHandler::m_haveBreakPoints.

+ Here is the call graph for this function:

◆ pauseAtNextOpportunity()

bool NativeDebugger::pauseAtNextOpportunity ( ) const
inlineoverride

Definition at line 156 of file qqmlnativedebugservice.cpp.

References BreakPointHandler::m_haveBreakPoints.

◆ signalEmitted()

void NativeDebugger::signalEmitted ( const QString & signal)

Definition at line 253 of file qqmlnativedebugservice.cpp.

References signal.


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