Class
IdeDebugger
Instance methods
ide_debugger_disassemble_finish
Completes an asynchronous request to ide_debugger_disassemble_async().
ide_debugger_emit_thread_added
Emits the IdeDebugger::thread-added
signal notifying that a new thread
has been added to the inferior.
ide_debugger_emit_thread_removed
Emits the IdeDebugger::thread-removed
signal notifying that a thread has
been removed to the inferior.
ide_debugger_emit_thread_selected
Emits the IdeDebugger::thread-selected
signal notifying that a thread
has been set as the current debugging thread.
ide_debugger_get_display_name
Gets the display name for the debugger as the user should see it in various UI components.
ide_debugger_insert_breakpoint_async
Asynchronously requests that a breakpoint is added to the debugger.
ide_debugger_interpret_finish
Retrieves the result of the asynchronous operation to interpret a debugger command.
ide_debugger_interrupt_async
Asynchronously requests that the debugger interrupts execution of a thread group. Thread groups are a collection of threads that are executed or stopped together and on gdb on Linux, this is the default for all threads in the process.
ide_debugger_list_breakpoints_async
Asynchronously requests the list of current breakpoints from the debugger.
ide_debugger_list_locals_async
Requests the debugger backend to list the locals that are available to the
given frame
of thread
.
ide_debugger_list_locals_finish
Completes an asynchronous request to ide_debugger_list_locals_async().
ide_debugger_list_params_async
Requests the debugger backend to list the parameters to the given stack frame.
ide_debugger_list_params_finish
Completes an asynchronous request to ide_debugger_list_params_async().
ide_debugger_list_registers_finish
Completes an asynchronous request to ide_debugger_list_registers_async().
ide_debugger_modify_breakpoint_async
Asynchronously requests that a breakpoint is modified by the debugger backend.
ide_debugger_move_async
Advances the debugger to the next breakpoint or until the debugger stops.
movement
should describe the type of movement to perform.
ide_debugger_remove_breakpoint_async
Asynchronously requests that a breakpoint is removed from the debugger.
Methods inherited from GActionGroup (14)
g_action_group_action_added
Emits the GActionGroup::action-added
signal on action_group
.
since: 2.28
g_action_group_action_enabled_changed
Emits the GActionGroup::action-enabled-changed
signal on action_group
.
since: 2.28
g_action_group_action_removed
Emits the GActionGroup::action-removed
signal on action_group
.
since: 2.28
g_action_group_action_state_changed
Emits the GActionGroup::action-state-changed
signal on action_group
.
since: 2.28
g_action_group_activate_action
Activate the named action within action_group
.
since: 2.28
g_action_group_change_action_state
Request for the state of the named action within action_group
to be
changed to value
.
since: 2.28
g_action_group_get_action_enabled
Checks if the named action within action_group
is currently enabled.
since: 2.28
g_action_group_get_action_parameter_type
Queries the type of the parameter that must be given when activating
the named action within action_group
.
since: 2.28
g_action_group_get_action_state
Queries the current state of the named action within action_group
.
since: 2.28
g_action_group_get_action_state_hint
Requests a hint about the valid range of values for the state of the
named action within action_group
.
since: 2.28
g_action_group_get_action_state_type
Queries the type of the state of the named action within
action_group
.
since: 2.28
g_action_group_has_action
Checks if the named action exists within action_group
.
since: 2.28
g_action_group_list_actions
Lists the actions contained within action_group
.
since: 2.28
g_action_group_query_action
Queries all aspects of the named action within an action_group
.
since: 2.32
Properties
Ide.Debugger:display-name
The “display-name” property is used by UI to when it is necessary to display the name of the debugger. You might set this to “GNU Debugger” or “Python Debugger”, etc.
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Ide.Object:parent
The parent IdeObject
, if any.
Signals
Ide.Debugger::breakpoint-added
The “breakpoint-added” signal is emitted when a breakpoint has been added to the debugger.
Ide.Debugger::breakpoint-modified
The “breakpoint-modified” signal is emitted when a breakpoint has been modified by the debugger.
Ide.Debugger::breakpoint-removed
The “breakpoint-removed” signal is emitted when a breakpoint has been removed from the debugger.
Ide.Debugger::library-unloaded
This signal is emitted when a library has been unloaded by the debugger. Generally, this means that the library was a module and loaded in such a way that allowed unloading.
Ide.Debugger::log
The “log” signal is emitted when there is new content to be appended to one of the streams.
Ide.Debugger::running
This signal is emitted when the debugger starts or resumes executing the inferior.
Ide.Debugger::stopped
This signal is emitted when the debugger has stopped executing the inferior for a variety of reasons.
Signals inherited from IdeObject (1)
IdeObject::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from GActionGroup (4)
GActionGroup::action-added
Signals that a new action was just added to the group. This signal is emitted after the action has been added and is now visible.
since: 2.28
GActionGroup::action-enabled-changed
Signals that the enabled status of the named action has changed.
since: 2.28
GActionGroup::action-removed
Signals that an action is just about to be removed from the group. This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.
since: 2.28
GActionGroup::action-state-changed
Signals that the state of the named action has changed.
since: 2.28
Class structure
struct IdeDebuggerClass {
IdeObjectClass parent_class;
void (* log) (
IdeDebugger* self,
IdeDebuggerStream stream,
GBytes* content
);
void (* thread_group_added) (
IdeDebugger* self,
IdeDebuggerThreadGroup* thread_group
);
void (* thread_group_removed) (
IdeDebugger* self,
IdeDebuggerThreadGroup* thread_group
);
void (* thread_group_started) (
IdeDebugger* self,
IdeDebuggerThreadGroup* thread_group
);
void (* thread_group_exited) (
IdeDebugger* self,
IdeDebuggerThreadGroup* thread_group
);
void (* thread_added) (
IdeDebugger* self,
IdeDebuggerThread* thread
);
void (* thread_removed) (
IdeDebugger* self,
IdeDebuggerThread* thread
);
void (* thread_selected) (
IdeDebugger* self,
IdeDebuggerThread* thread
);
void (* breakpoint_added) (
IdeDebugger* self,
IdeDebuggerBreakpoint* breakpoint
);
void (* breakpoint_removed) (
IdeDebugger* self,
IdeDebuggerBreakpoint* breakpoint
);
void (* breakpoint_modified) (
IdeDebugger* self,
IdeDebuggerBreakpoint* breakpoint
);
void (* running) (
IdeDebugger* self
);
void (* stopped) (
IdeDebugger* self,
IdeDebuggerStopReason stop_reason,
IdeDebuggerBreakpoint* breakpoint
);
void (* library_loaded) (
IdeDebugger* self,
IdeDebuggerLibrary* library
);
void (* library_unloaded) (
IdeDebugger* self,
IdeDebuggerLibrary* library
);
gboolean (* supports_run_command) (
IdeDebugger* self,
IdePipeline* pipeline,
IdeRunCommand* run_command,
int* priority
);
void (* prepare_for_run) (
IdeDebugger* self,
IdePipeline* pipeline,
IdeRunContext* run_context
);
gboolean (* get_can_move) (
IdeDebugger* self,
IdeDebuggerMovement movement
);
void (* move_async) (
IdeDebugger* self,
IdeDebuggerMovement movement,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* move_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* list_breakpoints_async) (
IdeDebugger* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GPtrArray* (* list_breakpoints_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* insert_breakpoint_async) (
IdeDebugger* self,
IdeDebuggerBreakpoint* breakpoint,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* insert_breakpoint_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* remove_breakpoint_async) (
IdeDebugger* self,
IdeDebuggerBreakpoint* breakpoint,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* remove_breakpoint_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* modify_breakpoint_async) (
IdeDebugger* self,
IdeDebuggerBreakpointChange change,
IdeDebuggerBreakpoint* breakpoint,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* modify_breakpoint_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* list_frames_async) (
IdeDebugger* self,
IdeDebuggerThread* thread,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GPtrArray* (* list_frames_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* interrupt_async) (
IdeDebugger* self,
IdeDebuggerThreadGroup* thread_group,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* interrupt_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* send_signal_async) (
IdeDebugger* self,
int signum,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* send_signal_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* list_locals_async) (
IdeDebugger* self,
IdeDebuggerThread* thread,
IdeDebuggerFrame* frame,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GPtrArray* (* list_locals_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* list_params_async) (
IdeDebugger* self,
IdeDebuggerThread* thread,
IdeDebuggerFrame* frame,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GPtrArray* (* list_params_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* list_registers_async) (
IdeDebugger* self,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GPtrArray* (* list_registers_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* disassemble_async) (
IdeDebugger* self,
const IdeDebuggerAddressRange* range,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
GPtrArray* (* disassemble_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
void (* interpret_async) (
IdeDebugger* self,
const gchar* command,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
);
gboolean (* interpret_finish) (
IdeDebugger* self,
GAsyncResult* result,
GError** error
);
}
Class members
parent_class: IdeObjectClass
- No description available.
log: void (* log) ( IdeDebugger* self, IdeDebuggerStream stream, GBytes* content )
- No description available.
thread_group_added: void (* thread_group_added) ( IdeDebugger* self, IdeDebuggerThreadGroup* thread_group )
- No description available.
thread_group_removed: void (* thread_group_removed) ( IdeDebugger* self, IdeDebuggerThreadGroup* thread_group )
- No description available.
thread_group_started: void (* thread_group_started) ( IdeDebugger* self, IdeDebuggerThreadGroup* thread_group )
- No description available.
thread_group_exited: void (* thread_group_exited) ( IdeDebugger* self, IdeDebuggerThreadGroup* thread_group )
- No description available.
thread_added: void (* thread_added) ( IdeDebugger* self, IdeDebuggerThread* thread )
- No description available.
thread_removed: void (* thread_removed) ( IdeDebugger* self, IdeDebuggerThread* thread )
- No description available.
thread_selected: void (* thread_selected) ( IdeDebugger* self, IdeDebuggerThread* thread )
- No description available.
breakpoint_added: void (* breakpoint_added) ( IdeDebugger* self, IdeDebuggerBreakpoint* breakpoint )
- No description available.
breakpoint_removed: void (* breakpoint_removed) ( IdeDebugger* self, IdeDebuggerBreakpoint* breakpoint )
- No description available.
breakpoint_modified: void (* breakpoint_modified) ( IdeDebugger* self, IdeDebuggerBreakpoint* breakpoint )
- No description available.
running: void (* running) ( IdeDebugger* self )
- No description available.
stopped: void (* stopped) ( IdeDebugger* self, IdeDebuggerStopReason stop_reason, IdeDebuggerBreakpoint* breakpoint )
- No description available.
library_loaded: void (* library_loaded) ( IdeDebugger* self, IdeDebuggerLibrary* library )
- No description available.
library_unloaded: void (* library_unloaded) ( IdeDebugger* self, IdeDebuggerLibrary* library )
- No description available.
supports_run_command: gboolean (* supports_run_command) ( IdeDebugger* self, IdePipeline* pipeline, IdeRunCommand* run_command, int* priority )
- No description available.
prepare_for_run: void (* prepare_for_run) ( IdeDebugger* self, IdePipeline* pipeline, IdeRunContext* run_context )
- No description available.
get_can_move: gboolean (* get_can_move) ( IdeDebugger* self, IdeDebuggerMovement movement )
- No description available.
move_async: void (* move_async) ( IdeDebugger* self, IdeDebuggerMovement movement, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
move_finish: gboolean (* move_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
list_breakpoints_async: void (* list_breakpoints_async) ( IdeDebugger* self, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
list_breakpoints_finish: GPtrArray* (* list_breakpoints_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
insert_breakpoint_async: void (* insert_breakpoint_async) ( IdeDebugger* self, IdeDebuggerBreakpoint* breakpoint, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
insert_breakpoint_finish: gboolean (* insert_breakpoint_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
remove_breakpoint_async: void (* remove_breakpoint_async) ( IdeDebugger* self, IdeDebuggerBreakpoint* breakpoint, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
remove_breakpoint_finish: gboolean (* remove_breakpoint_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
modify_breakpoint_async: void (* modify_breakpoint_async) ( IdeDebugger* self, IdeDebuggerBreakpointChange change, IdeDebuggerBreakpoint* breakpoint, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
modify_breakpoint_finish: gboolean (* modify_breakpoint_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
list_frames_async: void (* list_frames_async) ( IdeDebugger* self, IdeDebuggerThread* thread, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
list_frames_finish: GPtrArray* (* list_frames_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
interrupt_async: void (* interrupt_async) ( IdeDebugger* self, IdeDebuggerThreadGroup* thread_group, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
interrupt_finish: gboolean (* interrupt_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
send_signal_async: void (* send_signal_async) ( IdeDebugger* self, int signum, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
send_signal_finish: gboolean (* send_signal_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
list_locals_async: void (* list_locals_async) ( IdeDebugger* self, IdeDebuggerThread* thread, IdeDebuggerFrame* frame, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
list_locals_finish: GPtrArray* (* list_locals_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
list_params_async: void (* list_params_async) ( IdeDebugger* self, IdeDebuggerThread* thread, IdeDebuggerFrame* frame, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
list_params_finish: GPtrArray* (* list_params_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
list_registers_async: void (* list_registers_async) ( IdeDebugger* self, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
list_registers_finish: GPtrArray* (* list_registers_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
disassemble_async: void (* disassemble_async) ( IdeDebugger* self, const IdeDebuggerAddressRange* range, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
disassemble_finish: GPtrArray* (* disassemble_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
interpret_async: void (* interpret_async) ( IdeDebugger* self, const gchar* command, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer user_data )
- No description available.
interpret_finish: gboolean (* interpret_finish) ( IdeDebugger* self, GAsyncResult* result, GError** error )
- No description available.
Virtual methods
Ide.DebuggerClass.disassemble_finish
Completes an asynchronous request to ide_debugger_disassemble_async().
Ide.DebuggerClass.get_can_move
Checks to see if the debugger can make the movement matching movement
.
Ide.DebuggerClass.insert_breakpoint_async
Asynchronously requests that a breakpoint is added to the debugger.
Ide.DebuggerClass.insert_breakpoint_finish
Completes a request to asynchronously insert a breakpoint.
Ide.DebuggerClass.interpret_finish
Retrieves the result of the asynchronous operation to interpret a debugger command.
Ide.DebuggerClass.interrupt_async
Asynchronously requests that the debugger interrupts execution of a thread group. Thread groups are a collection of threads that are executed or stopped together and on gdb on Linux, this is the default for all threads in the process.
Ide.DebuggerClass.list_breakpoints_async
Asynchronously requests the list of current breakpoints from the debugger.
Ide.DebuggerClass.list_locals_async
Requests the debugger backend to list the locals that are available to the
given frame
of thread
.
Ide.DebuggerClass.list_locals_finish
Completes an asynchronous request to ide_debugger_list_locals_async().
Ide.DebuggerClass.list_params_async
Requests the debugger backend to list the parameters to the given stack frame.
Ide.DebuggerClass.list_params_finish
Completes an asynchronous request to ide_debugger_list_params_async().
Ide.DebuggerClass.list_registers_finish
Completes an asynchronous request to ide_debugger_list_registers_async().
Ide.DebuggerClass.modify_breakpoint_async
Asynchronously requests that a breakpoint is modified by the debugger backend.
Ide.DebuggerClass.modify_breakpoint_finish
Completes an asynchronous request to modify a breakpoint.
Ide.DebuggerClass.move_async
Advances the debugger to the next breakpoint or until the debugger stops.
movement
should describe the type of movement to perform.
Ide.DebuggerClass.move_finish
Notifies that the movement request has been submitted to the debugger.
Ide.DebuggerClass.remove_breakpoint_async
Asynchronously requests that a breakpoint is removed from the debugger.
Ide.DebuggerClass.remove_breakpoint_finish
Completes a request to asynchronously remove a breakpoint.