Foundry.DapDebugger

g Foundry.Contextual Foundry.Contextual Foundry.Debugger Foundry.Debugger Foundry.Contextual->Foundry.Debugger Foundry.DapDebugger Foundry.DapDebugger Foundry.Debugger->Foundry.DapDebugger GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Debugger (20), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

GObject.ObjectClass (5)

call (node)

dup_stream ()

dup_subprocess ()

get_quirks ()

send (node)

Virtual Methods

Inherited:

Foundry.Debugger (20), GObject.Object (7), Json.Serializable (5)

Properties

Inherited:

Foundry.Debugger (7), Foundry.Contextual (1)

Name

Type

Flags

Short Description

quirks

Foundry.DapDebuggerQuirk

r/w/co

stream

Gio.IOStream

r/w/co

subprocess

Gio.Subprocess

r/w/co

Signals

Inherited:

Foundry.Debugger (1), GObject.Object (1)

Fields

Inherited:

Foundry.Debugger (1), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Foundry.Debugger

r

Class Details

class Foundry.DapDebugger(**kwargs)
Bases:

Foundry.Debugger

Abstract:

Yes

Structure:

Foundry.DapDebuggerClass

Debug Adapter Protocol (DAP) implementation of the debugger interface.

Foundry.DapDebugger provides a concrete implementation of the debugger interface using the Debug Adapter Protocol. It handles communication with language-specific debug adapters and provides a unified interface for debugging operations across different programming languages and development environments.

call(node)
Parameters:

node (Json.Node) –

Returns:

a [class`Dex`.Future] that resolves to a [struct`Json`.Node] or rejects with error.

Return type:

Dex.Future

Makes a request to the DAP server. The reply will be provided via the resulting future, even if the reply contains an error.

New in version 1.1.

dup_stream()
Return type:

Gio.IOStream or None

New in version 1.1.

dup_subprocess()
Return type:

Gio.Subprocess or None

New in version 1.1.

get_quirks()
Return type:

Foundry.DapDebuggerQuirk

send(node)
Parameters:

node (Json.Node) –

Returns:

a [class`Dex`.Future] that resolves to any value or rejects with error.

Return type:

Dex.Future

Send a message to the peer without expecting a reply.

New in version 1.1.

Property Details

Foundry.DapDebugger.props.quirks
Name:

quirks

Type:

Foundry.DapDebuggerQuirk

Default Value:

Foundry.DapDebuggerQuirk.NONE

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.DapDebugger.props.stream
Name:

stream

Type:

Gio.IOStream

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Foundry.DapDebugger.props.subprocess
Name:

subprocess

Type:

Gio.Subprocess

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY