Foundry.DebuggerStackFrame

g Foundry.DebuggerStackFrame Foundry.DebuggerStackFrame GObject.Object GObject.Object GObject.Object->Foundry.DebuggerStackFrame

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

can_restart ()

dup_id ()

dup_module_id ()

dup_name ()

dup_source ()

get_instruction_pointer ()

get_source_range (begin_line, begin_line_offset, end_line, end_line_offset)

list_locals ()

list_params ()

list_registers ()

Virtual Methods

Inherited:

GObject.Object (7)

do_can_restart ()

do_dup_id ()

do_dup_module_id ()

do_dup_name ()

do_dup_source ()

do_get_instruction_pointer ()

do_get_source_range (begin_line, begin_line_offset, end_line, end_line_offset)

do_list_locals ()

do_list_params ()

do_list_registers ()

Properties

Name

Type

Flags

Short Description

begin-line

int

r

begin-line-offset

int

r

can-restart

bool

r

end-line

int

r

end-line-offset

int

r

id

str

r

instruction-pointer

int

r

module-id

str

r

name

str

r

source

Foundry.DebuggerSource

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Foundry.DebuggerStackFrame(**kwargs)
Bases:

GObject.Object

Abstract:

Yes

Structure:

Foundry.DebuggerStackFrameClass

Abstract base class for representing stack frames in the debugger.

Foundry.DebuggerStackFrame provides the core interface for representing stack frames during debugging sessions. It includes frame identification, source location information, and provides a unified interface for stack frame inspection and navigation across different debugging backends.

can_restart()
Return type:

bool

dup_id()
Return type:

str

dup_module_id()
Return type:

str

dup_name()
Return type:

str

dup_source()
Return type:

Foundry.DebuggerSource or None

get_instruction_pointer()
Return type:

int

get_source_range(begin_line, begin_line_offset, end_line, end_line_offset)
Parameters:
  • begin_line (int) –

  • begin_line_offset (int) –

  • end_line (int) –

  • end_line_offset (int) –

list_locals()
Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable]

Return type:

Dex.Future

list_params()
Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable]

Return type:

Dex.Future

list_registers()
Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable]

Return type:

Dex.Future

do_can_restart() virtual
Return type:

bool

do_dup_id() virtual
Return type:

str

do_dup_module_id() virtual
Return type:

str

do_dup_name() virtual
Return type:

str

do_dup_source() virtual
Return type:

Foundry.DebuggerSource or None

do_get_instruction_pointer() virtual
Return type:

int

do_get_source_range(begin_line, begin_line_offset, end_line, end_line_offset) virtual
Parameters:
  • begin_line (int) –

  • begin_line_offset (int) –

  • end_line (int) –

  • end_line_offset (int) –

do_list_locals() virtual
Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable]

Return type:

Dex.Future

do_list_params() virtual
Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable]

Return type:

Dex.Future

do_list_registers() virtual
Returns:

a [class`Dex`.Future] that resolves to a [iface`Gio`.ListModel] of [class`Foundry`.DebuggerVariable]

Return type:

Dex.Future

Property Details

Foundry.DebuggerStackFrame.props.begin_line
Name:

begin-line

Type:

int

Default Value:

0

Flags:

READABLE

Foundry.DebuggerStackFrame.props.begin_line_offset
Name:

begin-line-offset

Type:

int

Default Value:

0

Flags:

READABLE

Foundry.DebuggerStackFrame.props.can_restart
Name:

can-restart

Type:

bool

Default Value:

False

Flags:

READABLE

Foundry.DebuggerStackFrame.props.end_line
Name:

end-line

Type:

int

Default Value:

0

Flags:

READABLE

Foundry.DebuggerStackFrame.props.end_line_offset
Name:

end-line-offset

Type:

int

Default Value:

0

Flags:

READABLE

Foundry.DebuggerStackFrame.props.id
Name:

id

Type:

str

Default Value:

None

Flags:

READABLE

Foundry.DebuggerStackFrame.props.instruction_pointer
Name:

instruction-pointer

Type:

int

Default Value:

0

Flags:

READABLE

Foundry.DebuggerStackFrame.props.module_id
Name:

module-id

Type:

str

Default Value:

None

Flags:

READABLE

Foundry.DebuggerStackFrame.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE

Foundry.DebuggerStackFrame.props.source
Name:

source

Type:

Foundry.DebuggerSource

Default Value:

None

Flags:

READABLE

New in version 1.1.