Class
IdeDebugger
Ancestors
- IdeObject
- GObject
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 IdeObject (28)
ide_object_add
Adds child
to self
, with location dependent on location
.
Available since: 3.32
ide_object_append
Inserts child
as the last child of self
.
Available since: 3.32
ide_object_destroy
ide_object_ensure_child_typed
Like ide_object_get_child_typed()
except that it creates an object of
type
if it is missing.
Available since: 3.32
ide_object_foreach
Calls callback
for each child of self
.
Available since: 3.32
ide_object_get_child_typed
Finds the first child of self
that is of type
.
Available since: 3.32
ide_object_get_children_typed
Gets all children matching type
.
Available since: 3.32
ide_object_get_context
Gets the IdeContext
for the object.
Available since: 3.32
ide_object_get_n_children
Gets the number of children for an object.
Available since: 3.32
ide_object_get_nth_child
Gets the nth
child of self
.
Available since: 3.32
ide_object_get_parent
Gets the parent IdeObject
, if any.
Available since: 3.32
ide_object_get_position
Gets the position of self
within the parent node.
Available since: 3.32
ide_object_in_destruction
ide_object_insert_after
Inserts child
into self
‘s children, directly after sibling
.
Available since: 3.32
ide_object_insert_before
Inserts child
into self
‘s children, directly before sibling
.
Available since: 3.32
ide_object_insert_sorted
Locates the proper sibling for child
by using func
amongst self
‘s
children IdeObject
. Those objects must already be sorted.
Available since: 3.32
ide_object_is_root
Checks if self
is root, meaning it has no parent.
Available since: 3.32
ide_object_lock
Acquires the lock for self
. This can be useful when you need to do
multi-threaded work with self
and want to ensure exclusivity.
Available since: 3.32
ide_object_prepend
Inserts child
as the first child of self
.
Available since: 3.32
ide_object_ref_cancellable
Gets a GCancellable
for the object.
Available since: 3.32
ide_object_ref_context
Gets the root IdeContext
for the object, if any.
Available since: 3.32
ide_object_ref_parent
Gets the parent IdeObject
, if any.
Available since: 3.32
ide_object_ref_root
Finds and returns the toplevel object in the tree.
Available since: 3.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
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