4#ifndef QQML_NATIVE_DEBUG_SERVICE_H
5#define QQML_NATIVE_DEBUG_SERVICE_H
7#include <private/qqmldebugconnector_p.h>
8#include <private/qv4debugging_p.h>
9#include <private/qv4engine_p.h>
10#include <private/qv4debugging_p.h>
11#include <private/qv4script_p.h>
12#include <private/qv4string_p.h>
13#include <private/qv4objectiterator_p.h>
14#include <private/qv4identifierhash_p.h>
15#include <private/qv4runtime_p.h>
16#include <private/qqmldebugserviceinterfaces_p.h>
18#include <QtCore/qjsonarray.h>
20#include <qqmlengine.h>
23#include <QJsonDocument>
52 QList<QPointer<NativeDebugger> > m_debuggers;
void setBreakOnThrow(bool onoff)
void removeBreakPoint(int id)
void enableBreakPoint(int id, bool onoff)
QVector< BreakPoint > m_breakPoints
void handleRemoveBreakpoint(QJsonObject *response, const QJsonObject &arguments)
void handleSetBreakpoint(QJsonObject *response, const QJsonObject &arguments)
Collector(QV4::ExecutionEngine *engine)
void collect(QJsonArray *output, const QString &parentIName, const QString &name, const QV4::Value &value)
QV4::ExecutionEngine * m_engine
bool isExpanded(const QString &iname) const
void maybeBreakAtInstruction() override
void aboutToThrow() override
void handleCommand(QJsonObject *response, const QString &cmd, const QJsonObject &arguments)
QV4::ExecutionEngine * engine() const
NativeDebugger(QQmlNativeDebugServiceImpl *service, QV4::ExecutionEngine *engine)
void leavingFunction(const QV4::ReturnedValue &retVal) override
void enteringFunction() override
bool pauseAtNextOpportunity() const override
void signalEmitted(const QString &signal)
void stateAboutToBeChanged(State state) override
void engineAboutToBeRemoved(QJSEngine *engine) override
void engineAboutToBeAdded(QJSEngine *engine) override
void emitAsynchronousMessageToClient(const QJsonObject &message)
QQmlNativeDebugServiceImpl(QObject *parent)
void messageReceived(const QByteArray &message) override
~QQmlNativeDebugServiceImpl() override
static void setError(QJsonObject *response, const QString &msg)
static QString encodeFrame(QV4::CppStackFrame *f)
size_t qHash(const BreakPoint &b, size_t seed=0) noexcept
bool operator==(const BreakPoint &a, const BreakPoint &b)
static void decodeFrame(const QString &f, QV4::CppStackFrame **frame)
#define TRACE_PROTOCOL(x)