| Qore Programming Language Reference Manual 1.0.8

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