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_p.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QV4DEBUGCLIENT_P_H
5#define QV4DEBUGCLIENT_P_H
6
7#include "qqmldebugclient_p.h"
8#include <QtCore/qjsonvalue.h>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists purely as an
15// implementation detail. This header file may change from version to
16// version without notice, or even be removed.
17//
18// We mean it.
19//
20
22
25{
27 Q_DECLARE_PRIVATE(QV4DebugClient)
28
29public:
37
39 {
42 };
43
49
51
52 void connect();
53 void disconnect();
54
55 void interrupt();
56 void continueDebugging(StepAction stepAction);
57 void evaluate(const QString &expr, int frame = -1, int context = -1);
58 void lookup(const QList<int> &handles, bool includeSource = false);
59 void backtrace(int fromFrame = -1, int toFrame = -1, bool bottom = false);
60 void frame(int number = -1);
61 void scope(int number = -1, int frameNumber = -1);
62 void scripts(int types = 4, const QList<int> &ids = QList<int>(), bool includeSource = false);
63 void setBreakpoint(const QString &target, int line = -1, int column = -1, bool enabled = true,
64 const QString &condition = QString(), int ignoreCount = -1);
65 void clearBreakpoint(int breakpoint);
66 void changeBreakpoint(int breakpoint, bool enabled);
67 void setExceptionBreak(Exception type, bool enabled = false);
68 void version();
69
70 Response response() const;
71
72protected:
73 void messageReceived(const QByteArray &data) override;
74
76 void connected();
78 void result();
79 void failure();
80 void stopped();
81};
82
84
85#endif // QV4DEBUGCLIENT_P_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore\reentrant
Definition qjsonvalue.h:25
QQmlDebugConnection * connection() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
void scripts(int types=4, const QList< int > &ids=QList< int >(), bool includeSource=false)
void changeBreakpoint(int breakpoint, bool enabled)
QV4DebugClient(QQmlDebugConnection *connection)
void messageReceived(const QByteArray &data) override
void setBreakpoint(const QString &target, int line=-1, int column=-1, bool enabled=true, const QString &condition=QString(), int ignoreCount=-1)
void interrupted()
void lookup(const QList< int > &handles, bool includeSource=false)
void continueDebugging(StepAction stepAction)
void scope(int number=-1, int frameNumber=-1)
void setExceptionBreak(Exception type, bool enabled=false)
Response response() const
void backtrace(int fromFrame=-1, int toFrame=-1, bool bottom=false)
void clearBreakpoint(int breakpoint)
Combined button and popup list for selecting options.
static void * context
GLenum condition
GLenum GLenum GLsizei const GLuint * ids
GLsizei GLenum GLenum * types
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLenum type
GLint GLint bottom
GLenum target
GLenum GLenum GLsizei void GLsizei void * column
#define Q_OBJECT
#define Q_SIGNALS
QFrame frame
[0]
engine evaluate("var myObject = new MyObject()")
[8]