Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
// Qt-Security score:significant
4
5
#
ifndef
QV4DEBUGGING_H
6
#
define
QV4DEBUGGING_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtQml
/
private
/
qv4global_p
.
h
>
20
#
include
<
QtQml
/
private
/
qv4staticvalue_p
.
h
>
21
#
include
<
QtCore
/
qobject
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
namespace
QV4
{
26
namespace
Debugging
{
27
28
#
if
!
QT_CONFIG
(
qml_debug
)
29
30
class
Debugger
31
{
32
public
:
33
bool
pauseAtNextOpportunity
()
const
{
return
false
; }
34
void
maybeBreakAtInstruction
() {}
35
void
enteringFunction
() {}
36
void
leavingFunction
(
const
ReturnedValue
&) {}
37
void
aboutToThrow
() {}
38
};
39
40
#
else
41
42
class
Q_QML_EXPORT Debugger :
public
QObject
43
{
44
Q_OBJECT
45
46
public
:
47
~
Debugger
()
override
;
48
virtual
bool
pauseAtNextOpportunity
()
const
= 0;
49
virtual
void
maybeBreakAtInstruction
() = 0;
50
virtual
void
enteringFunction
() = 0;
51
virtual
void
leavingFunction
(
const
ReturnedValue
&
retVal
) = 0;
52
virtual
void
aboutToThrow
() = 0;
53
};
54
55
#
endif
// QT_NO_QML_DEBUGGING
56
57
}
// namespace Debugging
58
}
// namespace QV4
59
60
QT_END_NAMESPACE
61
62
#
endif
// QV4DEBUGGING_H
QV4::Debugging
Definition
qv4engine_p.h:107
QV4
Definition
qjsvalue.h:23
qtdeclarative
src
qml
jsruntime
qv4debugging_p.h
Generated on
for Qt by
1.14.0