Class
IdeDebugger
Functions
ide_debugger_address_parse
Instance methods
ide_debugger_disassemble_finish
Completes an asynchronous request to ide_debugger_disassemble_async().
Available since: 3.32
ide_debugger_emit_breakpoint_added
Emits the IdeDebugger::breakpoint-added
signal.
Available since: 3.32
ide_debugger_emit_breakpoint_modified
Emits the IdeDebugger::breakpoint-modified
signal.
Available since: 3.32
ide_debugger_emit_breakpoint_removed
Emits the IdeDebugger::breakpoint-removed
signal.
Available since: 3.32
ide_debugger_emit_thread_added
Emits the IdeDebugger::thread-added
signal notifying that a new thread
has been added to the inferior.
Available since: 3.32
ide_debugger_emit_thread_group_added
ide_debugger_emit_thread_group_exited
ide_debugger_emit_thread_group_removed
ide_debugger_emit_thread_group_started
ide_debugger_emit_thread_removed
Emits the IdeDebugger::thread-removed
signal notifying that a thread has
been removed to the inferior.
Available since: 3.32
ide_debugger_emit_thread_selected
Emits the IdeDebugger::thread-selected
signal notifying that a thread
has been set as the current debugging thread.
Available since: 3.32
ide_debugger_get_can_move
Checks to see if the debugger can make the movement matching movement
.
Available since: 3.32
ide_debugger_get_display_name
Gets the display name for the debugger as the user should see it in various UI components.
Available since: 3.32
ide_debugger_get_is_running
ide_debugger_get_selected_thread
Gets the current selected thread by the debugger.
Available since: 3.32
ide_debugger_get_thread_groups
Gets the thread groups that have been registered by the debugger.
Available since: 3.32
ide_debugger_get_threads
Gets the threads that have been registered by the debugger.
Available since: 3.32
ide_debugger_insert_breakpoint_async
Asynchronously requests that a breakpoint is added to the debugger.
Available since: 3.32
ide_debugger_insert_breakpoint_finish
Completes a request to asynchronously insert a breakpoint.
Available since: 3.32
ide_debugger_interpret_async
Asynchronously requests that the debugger interpret the command.
Available since: 3.32
ide_debugger_interpret_finish
Retrieves the result of the asynchronous operation to interpret a debugger command.
Available since: 3.32
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.
Available since: 3.32
ide_debugger_interrupt_finish
ide_debugger_list_breakpoints_async
Asynchronously requests the list of current breakpoints from the debugger.
Available since: 3.32
ide_debugger_list_breakpoints_finish
Gets the list of breakpoints from the debugger.
Available since: 3.32
ide_debugger_list_frames_async
ide_debugger_list_locals_async
Requests the debugger backend to list the locals that are available to the
given frame
of thread
.
Available since: 3.32
ide_debugger_list_locals_finish
Completes an asynchronous request to ide_debugger_list_locals_async().
Available since: 3.32
ide_debugger_list_params_async
Requests the debugger backend to list the parameters to the given stack frame.
Available since: 3.32
ide_debugger_list_params_finish
Completes an asynchronous request to ide_debugger_list_params_async().
Available since: 3.32
ide_debugger_list_registers_async
Requests the list of registers and their values.
Available since: 3.32
ide_debugger_list_registers_finish
Completes an asynchronous request to ide_debugger_list_registers_async().
Available since: 3.32
ide_debugger_locate_binary_at_address
Attempts to locate the binary that contains a given address.
Available since: 3.32
ide_debugger_modify_breakpoint_async
Asynchronously requests that a breakpoint is modified by the debugger backend.
Available since: 3.32
ide_debugger_modify_breakpoint_finish
Completes an asynchronous request to modify a breakpoint.
Available since: 3.32
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.
Available since: 3.32
ide_debugger_move_finish
Notifies that the movement request has been submitted to the debugger.
Available since: 3.32
ide_debugger_prepare
Prepares the runner to launch a debugger and target process.
Available since: 3.32
ide_debugger_remove_breakpoint_async
Asynchronously requests that a breakpoint is removed from the debugger.
Available since: 3.32
ide_debugger_remove_breakpoint_finish
Completes a request to asynchronously remove a breakpoint.
Available since: 3.32
ide_debugger_send_signal_async
ide_debugger_send_signal_finish
ide_debugger_supports_runner
Checks if the debugger supports a given runner. The debugger may need to check if the binary type matches it’s expectation.
Available since: 3.32
Methods inherited from GActionGroup (14)
g_action_group_action_added
Emits the GActionGroup::action-added
signal on action_group
.
Available since: 2.28
g_action_group_action_enabled_changed
Emits the GActionGroup::action-enabled-changed
signal on action_group
.
Available since: 2.28
g_action_group_action_removed
Emits the GActionGroup::action-removed
signal on action_group
.
Available since: 2.28
g_action_group_action_state_changed
Emits the GActionGroup::action-state-changed
signal on action_group
.
Available since: 2.28
g_action_group_activate_action
Activate the named action within action_group
.
Available 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
.
Available since: 2.28
g_action_group_get_action_enabled
Checks if the named action within action_group
is currently enabled.
Available 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
.
Available since: 2.28
g_action_group_get_action_state
Queries the current state of the named action within action_group
.
Available 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
.
Available since: 2.28
g_action_group_get_action_state_type
Queries the type of the state of the named action within
action_group
.
Available since: 2.28
g_action_group_has_action
Checks if the named action exists within action_group
.
Available since: 2.28
g_action_group_list_actions
Lists the actions contained within action_group
.
Available since: 2.28
g_action_group_query_action
Queries all aspects of the named action within an action_group
.
Available 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.
Available since: 3.32
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
.
Available since: 3.32
Ide.Object:parent
The parent IdeObject
, if any.
Available since: 3.32
Signals
Ide.Debugger::breakpoint-added
The “breakpoint-added” signal is emitted when a breakpoint has been added to the debugger.
Available since: 3.32
Ide.Debugger::breakpoint-modified
The “breakpoint-modified” signal is emitted when a breakpoint has been modified by the debugger.
Available since: 3.32
Ide.Debugger::breakpoint-removed
The “breakpoint-removed” signal is emitted when a breakpoint has been removed from the debugger.
Available since: 3.32
Ide.Debugger::library-loaded
This signal is emitted when a library has been loaded by the debugger.
Available since: 3.32
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.
Available since: 3.32
Ide.Debugger::log
The “log” signal is emitted when there is new content to be appended to one of the streams.
Available since: 3.32
Ide.Debugger::running
This signal is emitted when the debugger starts or resumes executing the inferior.
Available since: 3.32
Ide.Debugger::stopped
This signal is emitted when the debugger has stopped executing the inferior for a variety of reasons.
Available since: 3.32
Ide.Debugger::thread-added
The signal is emitted when a thread is added to the inferior.
Available since: 3.32
Ide.Debugger::thread-group-added
This signal is emitted when a thread-group has been added.
Available since: 3.32
Ide.Debugger::thread-group-exited
This signal is emitted when a thread-group has exited.
Available since: 3.32
Ide.Debugger::thread-group-removed
This signal is emitted when a thread-group has been removed.
Available since: 3.32
Ide.Debugger::thread-group-started
This signal is emitted when a thread-group has been started.
Available since: 3.32
Ide.Debugger::thread-removed
The signal is emitted when a thread is removed from the inferior.
Available since: 3.32
Ide.Debugger::thread-selected
The signal is emitted when a thread is selected in the debugger.
Available since: 3.32
Signals inherited from IdeObject (1)
Ide.Object::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.
Available since: 3.32
Signals inherited from GObject (1)
GObject.Object::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)
Gio.ActionGroup::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.
Available since: 2.28
Gio.ActionGroup::action-enabled-changed
Signals that the enabled status of the named action has changed.
Available since: 2.28
Gio.ActionGroup::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.
Available since: 2.28
Gio.ActionGroup::action-state-changed
Signals that the state of the named action has changed.
Available 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_runner) (
IdeDebugger* self,
IdeRunner* runner,
gint* priority
);
void (* prepare) (
IdeDebugger* self,
IdeRunner* runner
);
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,
gint 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 |
|
No description available. | |
log |
|
No description available. | |
thread_group_added |
|
No description available. | |
thread_group_removed |
|
No description available. | |
thread_group_started |
|
No description available. | |
thread_group_exited |
|
No description available. | |
thread_added |
|
No description available. | |
thread_removed |
|
No description available. | |
thread_selected |
|
No description available. | |
breakpoint_added |
|
No description available. | |
breakpoint_removed |
|
No description available. | |
breakpoint_modified |
|
No description available. | |
running |
|
No description available. | |
stopped |
|
No description available. | |
library_loaded |
|
No description available. | |
library_unloaded |
|
No description available. | |
supports_runner |
|
No description available. | |
prepare |
|
No description available. | |
get_can_move |
|
No description available. | |
move_async |
|
No description available. | |
move_finish |
|
No description available. | |
list_breakpoints_async |
|
No description available. | |
list_breakpoints_finish |
|
No description available. | |
insert_breakpoint_async |
|
No description available. | |
insert_breakpoint_finish |
|
No description available. | |
remove_breakpoint_async |
|
No description available. | |
remove_breakpoint_finish |
|
No description available. | |
modify_breakpoint_async |
|
No description available. | |
modify_breakpoint_finish |
|
No description available. | |
list_frames_async |
|
No description available. | |
list_frames_finish |
|
No description available. | |
interrupt_async |
|
No description available. | |
interrupt_finish |
|
No description available. | |
send_signal_async |
|
No description available. | |
send_signal_finish |
|
No description available. | |
list_locals_async |
|
No description available. | |
list_locals_finish |
|
No description available. | |
list_params_async |
|
No description available. | |
list_params_finish |
|
No description available. | |
list_registers_async |
|
No description available. | |
list_registers_finish |
|
No description available. | |
disassemble_async |
|
No description available. | |
disassemble_finish |
|
No description available. | |
interpret_async |
|
No description available. | |
interpret_finish |
|
No description available. |
Virtual methods
Ide.DebuggerClass.breakpoint_added
Ide.DebuggerClass.breakpoint_modified
Ide.DebuggerClass.breakpoint_removed
Ide.DebuggerClass.disassemble_finish
Completes an asynchronous request to ide_debugger_disassemble_async().
Available since: 3.32
Ide.DebuggerClass.get_can_move
Checks to see if the debugger can make the movement matching movement
.
Available since: 3.32
Ide.DebuggerClass.insert_breakpoint_async
Asynchronously requests that a breakpoint is added to the debugger.
Available since: 3.32
Ide.DebuggerClass.insert_breakpoint_finish
Completes a request to asynchronously insert a breakpoint.
Available since: 3.32
Ide.DebuggerClass.interpret_async
Asynchronously requests that the debugger interpret the command.
Available since: 3.32
Ide.DebuggerClass.interpret_finish
Retrieves the result of the asynchronous operation to interpret a debugger command.
Available since: 3.32
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.
Available since: 3.32
Ide.DebuggerClass.interrupt_finish
Ide.DebuggerClass.library_loaded
Ide.DebuggerClass.library_unloaded
Ide.DebuggerClass.list_breakpoints_async
Asynchronously requests the list of current breakpoints from the debugger.
Available since: 3.32
Ide.DebuggerClass.list_breakpoints_finish
Gets the list of breakpoints from the debugger.
Available since: 3.32
Ide.DebuggerClass.list_frames_async
Ide.DebuggerClass.list_locals_async
Requests the debugger backend to list the locals that are available to the
given frame
of thread
.
Available since: 3.32
Ide.DebuggerClass.list_locals_finish
Completes an asynchronous request to ide_debugger_list_locals_async().
Available since: 3.32
Ide.DebuggerClass.list_params_async
Requests the debugger backend to list the parameters to the given stack frame.
Available since: 3.32
Ide.DebuggerClass.list_params_finish
Completes an asynchronous request to ide_debugger_list_params_async().
Available since: 3.32
Ide.DebuggerClass.list_registers_async
Requests the list of registers and their values.
Available since: 3.32
Ide.DebuggerClass.list_registers_finish
Completes an asynchronous request to ide_debugger_list_registers_async().
Available since: 3.32
Ide.DebuggerClass.log
Ide.DebuggerClass.modify_breakpoint_async
Asynchronously requests that a breakpoint is modified by the debugger backend.
Available since: 3.32
Ide.DebuggerClass.modify_breakpoint_finish
Completes an asynchronous request to modify a breakpoint.
Available since: 3.32
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.
Available since: 3.32
Ide.DebuggerClass.move_finish
Notifies that the movement request has been submitted to the debugger.
Available since: 3.32
Ide.DebuggerClass.prepare
Prepares the runner to launch a debugger and target process.
Available since: 3.32
Ide.DebuggerClass.remove_breakpoint_async
Asynchronously requests that a breakpoint is removed from the debugger.
Available since: 3.32
Ide.DebuggerClass.remove_breakpoint_finish
Completes a request to asynchronously remove a breakpoint.
Available since: 3.32
Ide.DebuggerClass.running
Ide.DebuggerClass.send_signal_async
Ide.DebuggerClass.send_signal_finish
Ide.DebuggerClass.stopped
Ide.DebuggerClass.supports_runner
Checks if the debugger supports a given runner. The debugger may need to check if the binary type matches it’s expectation.
Available since: 3.32