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
BreakPointHandler Class Reference
+ Collaboration diagram for BreakPointHandler:

Public Member Functions

 BreakPointHandler ()
 
void handleSetBreakpoint (QJsonObject *response, const QJsonObject &arguments)
 
void handleRemoveBreakpoint (QJsonObject *response, const QJsonObject &arguments)
 
void removeBreakPoint (int id)
 
void enableBreakPoint (int id, bool onoff)
 
void setBreakOnThrow (bool onoff)
 

Public Attributes

bool m_haveBreakPoints
 
bool m_breakOnThrow
 
int m_lastBreakpoint
 
QVector< BreakPointm_breakPoints
 

Detailed Description

Definition at line 90 of file qqmlnativedebugservice.cpp.

Constructor & Destructor Documentation

◆ BreakPointHandler()

BreakPointHandler::BreakPointHandler ( )
inline

Definition at line 93 of file qqmlnativedebugservice.cpp.

Member Function Documentation

◆ enableBreakPoint()

void BreakPointHandler::enableBreakPoint ( int id,
bool onoff )

Definition at line 538 of file qqmlnativedebugservice.cpp.

References enabled, and m_breakPoints.

◆ handleRemoveBreakpoint()

void BreakPointHandler::handleRemoveBreakpoint ( QJsonObject * response,
const QJsonObject & arguments )

Definition at line 140 of file qqmlnativedebugservice.cpp.

References arguments, QJsonObject::insert(), QStringLiteral, removeBreakPoint(), QVariant::toInt(), and QList< T >::value().

Referenced by QQmlNativeDebugServiceImpl::messageReceived().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleSetBreakpoint()

void BreakPointHandler::handleSetBreakpoint ( QJsonObject * response,
const QJsonObject & arguments )

Definition at line 108 of file qqmlnativedebugservice.cpp.

References arguments, fileName, BreakPoint::id, QJsonObject::insert(), line, m_breakPoints, m_haveBreakPoints, m_lastBreakpoint, QStringLiteral, setError(), QVariant::toBool(), QVariant::toInt(), QVariant::toString(), TRACE_PROTOCOL, and QList< T >::value().

Referenced by QQmlNativeDebugServiceImpl::messageReceived().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeBreakPoint()

void BreakPointHandler::removeBreakPoint ( int id)

Definition at line 527 of file qqmlnativedebugservice.cpp.

References i, m_breakPoints, and m_haveBreakPoints.

Referenced by handleRemoveBreakpoint().

+ Here is the caller graph for this function:

◆ setBreakOnThrow()

void BreakPointHandler::setBreakOnThrow ( bool onoff)

Member Data Documentation

◆ m_breakOnThrow

bool BreakPointHandler::m_breakOnThrow

Definition at line 103 of file qqmlnativedebugservice.cpp.

Referenced by NativeDebugger::aboutToThrow().

◆ m_breakPoints

QVector<BreakPoint> BreakPointHandler::m_breakPoints

◆ m_haveBreakPoints

◆ m_lastBreakpoint

int BreakPointHandler::m_lastBreakpoint

Definition at line 104 of file qqmlnativedebugservice.cpp.

Referenced by handleSetBreakpoint().


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