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
qv4debugging_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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 QV4DEBUGGING_H
5
#define QV4DEBUGGING_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtQml/private/qv4global_p.h>
19
#include <QtQml/private/qv4staticvalue_p.h>
20
#include <QtCore/qobject.h>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
QV4
{
25
namespace
Debugging {
26
27
#if !QT_CONFIG(qml_debug)
28
29
class
Debugger
30
{
31
public
:
32
bool
pauseAtNextOpportunity
()
const
{
return
false
; }
33
void
maybeBreakAtInstruction
() {}
34
void
enteringFunction
() {}
35
void
leavingFunction
(
const
ReturnedValue
&) {}
36
void
aboutToThrow
() {}
37
};
38
39
#else
40
41
class
Q_QML_EXPORT Debugger :
public
QObject
42
{
43
Q_OBJECT
44
45
public
:
46
~Debugger()
override
;
47
virtual
bool
pauseAtNextOpportunity()
const
= 0;
48
virtual
void
maybeBreakAtInstruction() = 0;
49
virtual
void
enteringFunction() = 0;
50
virtual
void
leavingFunction(
const
ReturnedValue
&retVal) = 0;
51
virtual
void
aboutToThrow() = 0;
52
};
53
54
#endif
// QT_NO_QML_DEBUGGING
55
56
}
// namespace Debugging
57
}
// namespace QV4
58
59
QT_END_NAMESPACE
60
61
#endif
// QV4DEBUGGING_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QV4::Debugging::Debugger
Definition
qv4debugging_p.h:30
QV4::Debugging::Debugger::leavingFunction
void leavingFunction(const ReturnedValue &)
Definition
qv4debugging_p.h:35
QV4::Debugging::Debugger::maybeBreakAtInstruction
void maybeBreakAtInstruction()
Definition
qv4debugging_p.h:33
QV4::Debugging::Debugger::enteringFunction
void enteringFunction()
Definition
qv4debugging_p.h:34
QV4::Debugging::Debugger::pauseAtNextOpportunity
bool pauseAtNextOpportunity() const
Definition
qv4debugging_p.h:32
QV4::Debugging::Debugger::aboutToThrow
void aboutToThrow()
Definition
qv4debugging_p.h:36
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QV4
Definition
qv4debugservice.h:28
QV4::ReturnedValue
quint64 ReturnedValue
Definition
qv4staticvalue_p.h:38
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
qtdeclarative
src
qml
jsruntime
qv4debugging_p.h
Generated by
1.10.0