Qore Programming Language Reference Manual 1.14.0
Loading...
Searching...
No Matches
QC_Breakpoint.dox.h
1
3namespace Qore {
5
28
29public:
31/***
32 */
33nothing addThreadId(int tid);
34
35public:
37/***
38 * @param new_pgm Program to be assigned
39 */
41
42public:
44/***
45 */
46nothing assignStatement(int statementId);
47
48public:
50/***
51 */
53
54public:
56/***
57 */
59
60public:
62/***/
64
65public:
67/***
68 */
70
71public:
73
78
79public:
81/***
82 */
84
85public:
87/***/
89
90public:
92
102
103public:
105/*** @see @ref Qore::Program::resolveStatementId() "Program::resolveStatementId()"
106 */
107list<int> getStatementIds();
108
109public:
111/***
112 */
113list<int> getThreadIds();
114
115public:
117/***
118 */
119bool isThreadId(softint tid);
120
121public:
123/***
124 */
125nothing removeThreadId(int tid);
126
127public:
129/***
130 */
131nothing setEnabled(bool enabled);
132
133public:
135
137nothing setPolicy(softint policy);
138
139public:
141/***
142 */
143nothing setThreadIds(softlist<softint> tidList);
144
145public:
147/***
148 */
150
151public:
153/***
154 */
155nothing unassignStatement(int statementId);
156
157public:
159
162static Breakpoint resolveBreakpointId(int breakpointId);
163};
171
173 const BreakpointPolicyAccept = BKP_PO_ACCEPT;
175 const BreakpointPolicyNone = BKP_PO_NONE;
177 const BreakpointPolicyReject = BKP_PO_REJECT;
179}
Breakpoint class supports breakpoint setting for particular Qore ProgramControl when debugging.
Definition: QC_Breakpoint.dox.h:27
destructor()
Unlinks from Breakpoint object and dereferences it.
nothing unassignProgram()
Unassign Program from breakpoint and deletes all statement references.
constructor()
Creates the breakpoint object with notification functions without any functionality.
nothing setThreadIds(softlist< softint > tidList)
Set list of the thread IDs.
list< int > getThreadIds()
Get list of the thread IDs.
bool isThreadId(softint tid)
Check if thread is ID in list.
nothing unassignStatement(int statementId)
Unassign breakpoint from statement.
nothing assignProgram(ProgramControl pgm)
Assign Program to breakpoint.
int getBreakpointId()
Get breakpoint id.
list< int > getStatementIds()
Get list of statements.
ProgramControl getProgram()
Get ProgramControl assigned to the breakpoint.
nothing assignStatement(int statementId)
Assign breakpoint to a statement.
static Breakpoint resolveBreakpointId(int breakpointId)
Get instance of breakpoint id.
nothing addThreadId(int tid)
Add thread ID to the list.
nothing setPolicy(softint policy)
Defines policy how thread list is evaluated. See Breakpoint Policy Constants.
nothing setEnabled(bool enabled)
Set enabled state to breakpoint.
copy()
Creates copy of breakpoint object.
int getPolicy()
Get policy how thread list is evaluated. See Breakpoint Policy Constants.
nothing removeThreadId(int tid)
Remove thread ID from the list.
nothing clearThreadIds()
Clear list of the thread IDs.
bool getEnabled()
Get enabled state of breakpoint.
The ProgramControl class provides safe information about a Qore program.
Definition: QC_ProgramControl.dox.h:45
const BreakpointPolicyReject
Consider all thread except those enumerated in thread list.
Definition: QC_Breakpoint.dox.h:177
const BreakpointPolicyAccept
Consider only threads enumerated in thread list.
Definition: QC_Breakpoint.dox.h:173
const BreakpointPolicyNone
Thread list is ignored.
Definition: QC_Breakpoint.dox.h:175
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2