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
QQmlNativeDebugServiceImpl Class Reference

#include <qqmlnativedebugservice.h>

+ Inheritance diagram for QQmlNativeDebugServiceImpl:
+ Collaboration diagram for QQmlNativeDebugServiceImpl:

Public Member Functions

 QQmlNativeDebugServiceImpl (QObject *parent)
 
 ~QQmlNativeDebugServiceImpl () override
 
void engineAboutToBeAdded (QJSEngine *engine) override
 
void engineAboutToBeRemoved (QJSEngine *engine) override
 
void stateAboutToBeChanged (State state) override
 
void messageReceived (const QByteArray &message) override
 
void emitAsynchronousMessageToClient (const QJsonObject &message)
 

Friends

class NativeDebugger
 

Detailed Description

Definition at line 33 of file qqmlnativedebugservice.h.

Constructor & Destructor Documentation

◆ QQmlNativeDebugServiceImpl()

QQmlNativeDebugServiceImpl::QQmlNativeDebugServiceImpl ( QObject * parent)

Definition at line 670 of file qqmlnativedebugservice.cpp.

◆ ~QQmlNativeDebugServiceImpl()

QQmlNativeDebugServiceImpl::~QQmlNativeDebugServiceImpl ( )
override

Definition at line 676 of file qqmlnativedebugservice.cpp.

Member Function Documentation

◆ emitAsynchronousMessageToClient()

void QQmlNativeDebugServiceImpl::emitAsynchronousMessageToClient ( const QJsonObject & message)

Definition at line 749 of file qqmlnativedebugservice.cpp.

References ba, QJsonDocument::Compact, QByteArray::constData(), emit, QJsonDocument::setObject(), QJsonDocument::toJson(), and TRACE_PROTOCOL.

Referenced by NativeDebugger::aboutToThrow().

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

◆ engineAboutToBeAdded()

void QQmlNativeDebugServiceImpl::engineAboutToBeAdded ( QJSEngine * engine)
override

Definition at line 681 of file qqmlnativedebugservice.cpp.

References QList< T >::append(), engine, QQmlDebugService::engineAboutToBeAdded(), QJSEngine::handle(), NativeDebugger, QV4::ExecutionEngine::setDebugger(), state, and TRACE_PROTOCOL.

+ Here is the call graph for this function:

◆ engineAboutToBeRemoved()

void QQmlNativeDebugServiceImpl::engineAboutToBeRemoved ( QJSEngine * engine)
override

Definition at line 697 of file qqmlnativedebugservice.cpp.

References engine, QQmlDebugService::engineAboutToBeRemoved(), QJSEngine::handle(), QList< T >::removeAll(), and TRACE_PROTOCOL.

+ Here is the call graph for this function:

◆ messageReceived()

void QQmlNativeDebugServiceImpl::messageReceived ( const QByteArray & message)
override

Definition at line 723 of file qqmlnativedebugservice.cpp.

References arguments, ba, QJsonDocument::Compact, QByteArray::constData(), emit, QJsonDocument::fromJson(), BreakPointHandler::handleRemoveBreakpoint(), BreakPointHandler::handleSetBreakpoint(), QJsonObject::insert(), QStringLiteral, request, QJsonDocument::setObject(), QJsonDocument::toJson(), and TRACE_PROTOCOL.

+ Here is the call graph for this function:

◆ stateAboutToBeChanged()

void QQmlNativeDebugServiceImpl::stateAboutToBeChanged ( State state)
override

Definition at line 711 of file qqmlnativedebugservice.cpp.

References engine, state, and QQmlDebugService::stateAboutToBeChanged().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ NativeDebugger

friend class NativeDebugger
friend

Definition at line 50 of file qqmlnativedebugservice.h.

Referenced by engineAboutToBeAdded().


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