Top | ![]() |
![]() |
![]() |
![]() |
The IdeDebuggerBreakpoints provides a convenient container for breakpoints about a single file. This is useful for situations like the document gutter where we need very fast access to whether or not a line has a breakpoint set during the rendering process.
At it's core, this is a sparse array as rarely do we have more than one cacheline of information about breakpoints in a file.
This object is controled by the IdeDebuggerManager and will modify the breakpoints as necessary by the current debugger. If no debugger is active, the breakpoints are queued until the debugger has started, and then synchronized to the debugger process.
GFile *
ide_debugger_breakpoints_get_file (IdeDebuggerBreakpoints *self
);
Gets the "file" property, which is the file that breakpoints within this container belong to.
IdeDebuggerBreakMode ide_debugger_breakpoints_get_line_mode (IdeDebuggerBreakpoints *self
,guint line
);
IdeDebuggerBreakpoint * ide_debugger_breakpoints_get_line (IdeDebuggerBreakpoints *self
,guint line
);
Gets the breakpoint that has been registered at a given line, or NULL
if no breakpoint is registered there.
Since: 3.26
void ide_debugger_breakpoints_foreach (IdeDebuggerBreakpoints *self
,GFunc func
,gpointer user_data
);
Call func
for every IdeDebuggerBreakpoint in self
.
Since: 3.26
#define IDE_TYPE_DEBUGGER_BREAKPOINTS (ide_debugger_breakpoints_get_type())
“changed”
signalvoid user_function (IdeDebuggerBreakpoints *idedebuggerbreakpoints, gpointer user_data)
Flags: Run Last