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
qv4debugclient.cpp File Reference

(5774d9b13b77ab0ac567d78c0a76d5609f758c10)

#include "qv4debugclient_p.h"
#include "qv4debugclient_p_p.h"
#include "qqmldebugconnection_p.h"
#include <private/qpacket_p.h>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
#include <QJsonArray>
#include "moc_qv4debugclient_p.cpp"
+ Include dependency graph for qv4debugclient.cpp:

Go to the source code of this file.

Macros

#define VARIANTMAPINIT
 

Variables

QT_BEGIN_NAMESPACE const char * V8REQUEST = "v8request"
 
const char * V8MESSAGE = "v8message"
 
const char * SEQ = "seq"
 
const char * TYPE = "type"
 
const char * COMMAND = "command"
 
const char * ARGUMENTS = "arguments"
 
const char * STEPACTION = "stepaction"
 
const char * STEPCOUNT = "stepcount"
 
const char * EXPRESSION = "expression"
 
const char * FRAME = "frame"
 
const char * CONTEXT = "context"
 
const char * GLOBAL = "global"
 
const char * DISABLEBREAK = "disable_break"
 
const char * HANDLES = "handles"
 
const char * INCLUDESOURCE = "includeSource"
 
const char * FROMFRAME = "fromFrame"
 
const char * TOFRAME = "toFrame"
 
const char * BOTTOM = "bottom"
 
const char * NUMBER = "number"
 
const char * FRAMENUMBER = "frameNumber"
 
const char * TYPES = "types"
 
const char * IDS = "ids"
 
const char * FILTER = "filter"
 
const char * FROMLINE = "fromLine"
 
const char * TOLINE = "toLine"
 
const char * TARGET = "target"
 
const char * LINE = "line"
 
const char * COLUMN = "column"
 
const char * ENABLED = "enabled"
 
const char * CONDITION = "condition"
 
const char * IGNORECOUNT = "ignoreCount"
 
const char * BREAKPOINT = "breakpoint"
 
const char * FLAGS = "flags"
 
const char * CONTINEDEBUGGING = "continue"
 
const char * EVALUATE = "evaluate"
 
const char * LOOKUP = "lookup"
 
const char * BACKTRACE = "backtrace"
 
const char * SCOPE = "scope"
 
const char * SCOPES = "scopes"
 
const char * SCRIPTS = "scripts"
 
const char * SOURCE = "source"
 
const char * SETBREAKPOINT = "setbreakpoint"
 
const char * CLEARBREAKPOINT = "clearbreakpoint"
 
const char * CHANGEBREAKPOINT = "changebreakpoint"
 
const char * SETEXCEPTIONBREAK = "setexceptionbreak"
 
const char * VERSION = "version"
 
const char * DISCONNECT = "disconnect"
 
const char * GARBAGECOLLECTOR = "gc"
 
const char * CONNECT = "connect"
 
const char * INTERRUPT = "interrupt"
 
const char * REQUEST = "request"
 
const char * IN = "in"
 
const char * NEXT = "next"
 
const char * OUT = "out"
 
const char * SCRIPT = "script"
 
const char * SCRIPTREGEXP = "scriptRegExp"
 
const char * EVENT = "event"
 
const char * ALL = "all"
 
const char * UNCAUGHT = "uncaught"
 

Macro Definition Documentation

◆ VARIANTMAPINIT

#define VARIANTMAPINIT
Value:
QJsonObject jsonVal; \
jsonVal.insert(QLatin1String(SEQ), d->seq++); \
\inmodule QtCore\reentrant
Definition qjsonobject.h:20
iterator insert(const QString &key, const QJsonValue &value)
Inserts a new item with the key key and a value of value.
QLatin1StringView QLatin1String
Definition qstringfwd.h:31
const char * REQUEST
const char * SEQ
const char * TYPE

Definition at line 82 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::backtrace(), QV4DebugClient::changeBreakpoint(), QV4DebugClient::clearBreakpoint(), QV4DebugClient::continueDebugging(), QV4DebugClient::disconnect(), QV4DebugClient::evaluate(), QV4DebugClient::frame(), QV4DebugClient::lookup(), QV4DebugClient::scope(), QV4DebugClient::scripts(), QV4DebugClient::setBreakpoint(), QV4DebugClient::setExceptionBreak(), and QV4DebugClient::version().

Variable Documentation

◆ ALL

const char* ALL = "all"

Definition at line 79 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setExceptionBreak().

◆ ARGUMENTS

◆ BACKTRACE

const char* BACKTRACE = "backtrace"

◆ BOTTOM

const char* BOTTOM = "bottom"

Definition at line 34 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::backtrace().

◆ BREAKPOINT

const char* BREAKPOINT = "breakpoint"

◆ CHANGEBREAKPOINT

const char* CHANGEBREAKPOINT = "changebreakpoint"

◆ CLEARBREAKPOINT

const char* CLEARBREAKPOINT = "clearbreakpoint"

◆ COLUMN

const char* COLUMN = "column"

Definition at line 44 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setBreakpoint().

◆ COMMAND

◆ CONDITION

const char* CONDITION = "condition"

Definition at line 46 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setBreakpoint().

◆ CONNECT

const char* CONNECT = "connect"

Definition at line 67 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::connect(), and QV4DebugClient::messageReceived().

◆ CONTEXT

const char* CONTEXT = "context"

Definition at line 27 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::evaluate().

◆ CONTINEDEBUGGING

const char* CONTINEDEBUGGING = "continue"

Definition at line 51 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::continueDebugging().

◆ DISABLEBREAK

const char* DISABLEBREAK = "disable_break"

Definition at line 29 of file qv4debugclient.cpp.

◆ DISCONNECT

const char* DISCONNECT = "disconnect"

◆ ENABLED

const char* ENABLED = "enabled"

◆ EVALUATE

const char* EVALUATE = "evaluate"

Definition at line 52 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::evaluate(), and QV4DebugClient::messageReceived().

◆ EVENT

const char* EVENT = "event"

Definition at line 77 of file qv4debugclient.cpp.

◆ EXPRESSION

const char* EXPRESSION = "expression"

Definition at line 25 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::evaluate().

◆ FILTER

const char* FILTER = "filter"

Definition at line 39 of file qv4debugclient.cpp.

◆ FLAGS

const char* FLAGS = "flags"

Definition at line 49 of file qv4debugclient.cpp.

◆ FRAME

const char* FRAME = "frame"

◆ FRAMENUMBER

const char* FRAMENUMBER = "frameNumber"

Definition at line 36 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::scope().

◆ FROMFRAME

const char* FROMFRAME = "fromFrame"

Definition at line 32 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::backtrace().

◆ FROMLINE

const char* FROMLINE = "fromLine"

Definition at line 40 of file qv4debugclient.cpp.

◆ GARBAGECOLLECTOR

const char* GARBAGECOLLECTOR = "gc"

Definition at line 65 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::messageReceived().

◆ GLOBAL

const char* GLOBAL = "global"

Definition at line 28 of file qv4debugclient.cpp.

◆ HANDLES

const char* HANDLES = "handles"

Definition at line 30 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::lookup().

◆ IDS

const char* IDS = "ids"

Definition at line 38 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::scripts().

◆ IGNORECOUNT

const char* IGNORECOUNT = "ignoreCount"

Definition at line 47 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setBreakpoint().

◆ IN

const char* IN = "in"

Definition at line 71 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::continueDebugging().

◆ INCLUDESOURCE

const char* INCLUDESOURCE = "includeSource"

Definition at line 31 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::lookup(), and QV4DebugClient::scripts().

◆ INTERRUPT

const char* INTERRUPT = "interrupt"

◆ LINE

const char* LINE = "line"

Definition at line 43 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setBreakpoint().

◆ LOOKUP

const char* LOOKUP = "lookup"

Definition at line 53 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::lookup(), and QV4DebugClient::messageReceived().

◆ NEXT

const char* NEXT = "next"

Definition at line 72 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::continueDebugging().

◆ NUMBER

const char* NUMBER = "number"

Definition at line 35 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::frame(), and QV4DebugClient::scope().

◆ OUT

const char* OUT = "out"

Definition at line 73 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::continueDebugging().

◆ REQUEST

const char* REQUEST = "request"

Definition at line 70 of file qv4debugclient.cpp.

◆ SCOPE

◆ SCOPES

const char* SCOPES = "scopes"

Definition at line 56 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::messageReceived().

◆ SCRIPT

const char* SCRIPT = "script"

Definition at line 75 of file qv4debugclient.cpp.

◆ SCRIPTREGEXP

const char* SCRIPTREGEXP = "scriptRegExp"

Definition at line 76 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setBreakpoint().

◆ SCRIPTS

const char* SCRIPTS = "scripts"

Definition at line 57 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::messageReceived(), and QV4DebugClient::scripts().

◆ SEQ

const char* SEQ = "seq"

Definition at line 19 of file qv4debugclient.cpp.

◆ SETBREAKPOINT

const char* SETBREAKPOINT = "setbreakpoint"

◆ SETEXCEPTIONBREAK

const char* SETEXCEPTIONBREAK = "setexceptionbreak"

◆ SOURCE

const char* SOURCE = "source"

Definition at line 58 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::messageReceived().

◆ STEPACTION

const char* STEPACTION = "stepaction"

Definition at line 23 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::continueDebugging().

◆ STEPCOUNT

const char* STEPCOUNT = "stepcount"

Definition at line 24 of file qv4debugclient.cpp.

◆ TARGET

const char* TARGET = "target"

Definition at line 42 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setBreakpoint().

◆ TOFRAME

const char* TOFRAME = "toFrame"

Definition at line 33 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::backtrace().

◆ TOLINE

const char* TOLINE = "toLine"

Definition at line 41 of file qv4debugclient.cpp.

◆ TYPE

◆ TYPES

const char* TYPES = "types"

Definition at line 37 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::scripts().

◆ UNCAUGHT

const char* UNCAUGHT = "uncaught"

Definition at line 80 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::setExceptionBreak().

◆ V8MESSAGE

const char* V8MESSAGE = "v8message"

Definition at line 18 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::messageReceived().

◆ V8REQUEST

◆ VERSION

const char* VERSION = "version"

Definition at line 63 of file qv4debugclient.cpp.

Referenced by QV4DebugClient::messageReceived(), and QV4DebugClient::version().