Foundry.DebuggerThread¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
|||
r |
|||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.DebuggerThread(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract base class for representing threads in the debugger.
Foundry.DebuggerThreadprovides the core interface for representing threads during debugging sessions. It includes thread identification, state management, and provides a unified interface for thread control and inspection across different debugging backends.- can_move(movement)¶
- Parameters:
movement (
Foundry.DebuggerMovement) –- Returns:
Trueif movement may be a valid movement now.- Return type:
If self can attempt movement at this point.
- interrupt()¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Stops the thread.
New in version 1.1.
- is_stopped()¶
-
Gets if the thread is currently stopped.
Subclasses should [method`GObject`.Object.notify] the “stopped” property when this value changes.
New in version 1.1.
- list_frames()¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerStackFrame].
- Return type:
- move(movement)¶
- Parameters:
movement (
Foundry.DebuggerMovement) –- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
New in version 1.1.
- do_can_move(movement) virtual¶
- Parameters:
movement (
Foundry.DebuggerMovement) –- Returns:
Trueif movement may be a valid movement now.- Return type:
If self can attempt movement at this point.
- do_interrupt() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
Stops the thread.
New in version 1.1.
- do_is_stopped() virtual¶
-
Gets if the thread is currently stopped.
Subclasses should [method`GObject`.Object.notify] the “stopped” property when this value changes.
New in version 1.1.
- do_list_frames() virtual¶
- Returns:
a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerStackFrame].
- Return type:
- do_move(movement) virtual¶
- Parameters:
movement (
Foundry.DebuggerMovement) –- Returns:
a [class`Dex`.Future] that resolves to any value or rejects with error.
- Return type:
New in version 1.1.