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