Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqmlnativedebugservice.cpp File Reference
#include "qqmlnativedebugservice.h"
#include <private/qqmldebugconnector_p.h>
#include <private/qv4debugging_p.h>
#include <private/qv4engine_p.h>
#include <private/qv4script_p.h>
#include <private/qv4string_p.h>
#include <private/qv4objectiterator_p.h>
#include <private/qv4identifierhash_p.h>
#include <private/qv4runtime_p.h>
#include <private/qversionedpacket_p.h>
#include <private/qqmldebugserviceinterfaces_p.h>
#include <private/qv4identifiertable_p.h>
#include <QtQml/qjsengine.h>
#include <QtCore/qjsonarray.h>
#include <QtCore/qjsondocument.h>
#include <QtCore/qjsonobject.h>
#include <QtCore/qjsonvalue.h>
#include <QtCore/qvector.h>
#include <QtCore/qpointer.h>
+ Include dependency graph for qqmlnativedebugservice.cpp:

Go to the source code of this file.

Classes

class  BreakPoint
 
class  Collector
 
class  BreakPointHandler
 
class  NativeDebugger
 

Macros

#define TRACE_PROTOCOL(s)
 

Typedefs

using QQmlDebugPacket = QVersionedPacket< QQmlDebugConnector >
 

Functions

size_t qHash (const BreakPoint &b, size_t seed=0) noexcept
 
bool operator== (const BreakPoint &a, const BreakPoint &b)
 
static void setError (QJsonObject *response, const QString &msg)
 
static QString encodeFrame (QV4::CppStackFrame *f)
 
static void decodeFrame (const QString &f, QV4::CppStackFrame **frame)
 

Macro Definition Documentation

◆ TRACE_PROTOCOL

#define TRACE_PROTOCOL (   s)

Definition at line 28 of file qqmlnativedebugservice.cpp.

Typedef Documentation

◆ QQmlDebugPacket

Function Documentation

◆ decodeFrame()

static void decodeFrame ( const QString f,
QV4::CppStackFrame **  frame 
)
static

Definition at line 297 of file qqmlnativedebugservice.cpp.

References frame, and QByteArray::fromHex().

+ Here is the call graph for this function:

◆ encodeFrame()

static QString encodeFrame ( QV4::CppStackFrame f)
static

Definition at line 290 of file qqmlnativedebugservice.cpp.

References QPacket::data(), QString::fromLatin1(), and QByteArray::toHex().

+ Here is the call graph for this function:

◆ operator==()

bool operator== ( const BreakPoint a,
const BreakPoint b 
)
inline

Definition at line 55 of file qqmlnativedebugservice.cpp.

◆ qHash()

size_t qHash ( const BreakPoint b,
size_t  seed = 0 
)
inlinenoexcept

Definition at line 50 of file qqmlnativedebugservice.cpp.

References qHash(), and seed.

Referenced by qHash().

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

◆ setError()

static void setError ( QJsonObject response,
const QString msg 
)
static

Definition at line 62 of file qqmlnativedebugservice.cpp.

References QJsonObject::insert(), and QStringLiteral.

Referenced by QQmlTypeLoader::Blob::dependencyComplete(), BreakPointHandler::handleSetBreakpoint(), and QQmlJS::Lexer::scanDirectives().

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