Top | ![]() |
![]() |
![]() |
![]() |
IdeDebugger * | ide_debug_manager_get_debugger () |
gboolean | ide_debug_manager_get_active () |
gboolean | ide_debug_manager_start () |
void | ide_debug_manager_stop () |
IdeDebuggerBreakpoints * | ide_debug_manager_get_breakpoints_for_file () |
gboolean | ide_debug_manager_supports_language () |
IdeDebugger * | ide_debug_manager_find_debugger () |
void | breakpoint-added | Run Last |
void | breakpoint-reached | Run Last |
void | breakpoint-removed | Run Last |
IdeDebugger *
ide_debug_manager_get_debugger (IdeDebugManager *self
);
Gets the debugger instance, if it is loaded.
gboolean ide_debug_manager_start (IdeDebugManager *self
,IdeRunner *runner
,GError **error
);
Attempts to start a runner using a discovered debugger backend.
IdeDebuggerBreakpoints * ide_debug_manager_get_breakpoints_for_file (IdeDebugManager *self
,GFile *file
);
This returns an IdeDebuggerBreakpoints that represents the breakpoints within a given file.
This inderect breakpoints container provides a very fast way to check if a line has a breakpoint set. You want to use this when performance really matters such as from the gutter of the source editor.
Breakpoints contained in the resulting structure will automatically propagate to the debugger when the debugger has been successfully spawned.
gboolean ide_debug_manager_supports_language (IdeDebugManager *self
,const gchar *language_id
);
This checks to see if there is a debugger that can possibly support a given language id. This is used to determine if space for breakpoints should be reserved in the gutter of source code editor.
This function accepts NULL
for language_id
out of convenience and will
return NULL
in this case.
Since: 3.26
IdeDebugger * ide_debug_manager_find_debugger (IdeDebugManager *self
,IdeRunner *runner
);
Locates a debugger for the given runner, or NULL
if no debugger
supports the runner.
“active”
property “active” gboolean
If the debugger is active.
This can be used to determine if the controls should be made visible in the workbench.
Flags: Read
Default value: FALSE
“breakpoint-added”
signalvoid user_function (IdeDebugManager *self, IdeDebuggerBreakpoint *breakpoint, gpointer user_data)
The "breakpoint-added" signal is emitted when a new breakpoint has been registered by the debugger.
Flags: Run Last
Since: 3.26
“breakpoint-reached”
signalvoid user_function (IdeDebugManager *self, IdeDebuggerBreakpoint *breakpoint, gpointer user_data)
The "breakpoint-reached" signal is emitted when the debugger has reached a breakpoint and execution has stopped.
If you need the stop reason, you should connect to “stopped” on the IdeDebugger itself.
See also: “debugger”
Flags: Run Last
Since: 3.26
“breakpoint-removed”
signalvoid user_function (IdeDebugManager *self, IdeDebuggerBreakpoint *breakpoint, gpointer user_data)
The "breakpoint-removed" signal is emitted when a new breakpoint has been removed by the debugger.
Flags: Run Last
Since: 3.26