Skip to content

Conversation

MaxDesiatov
Copy link
Member

@MaxDesiatov MaxDesiatov commented Oct 8, 2025

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added separate Package.swift manifest to hide debugger support behind a trait for now, and traits aren't supported in 6.0.

Comment on lines 123 to 132
.target(name: "GDBRemoteProtocol",
dependencies: [
.product(name: "NIOCore", package: "swift-nio"),
]
),
.testTarget(name: "GDBRemoteProtocolTests", dependencies: ["GDBRemoteProtocol"]),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two modules are meant to be completely independent of WasmKit and in the future could live in a separate package to be adopted in any suitable environment that needs debugging facilities, not just Wasm.

@MaxDesiatov MaxDesiatov force-pushed the maxd/lldb-remote-protocol branch 2 times, most recently from c6bb762 to e2be1c7 Compare October 10, 2025 17:25
@MaxDesiatov MaxDesiatov changed the title Basic GDB remote protocol scaffolding GDB remote protocol: support call stack command Oct 20, 2025
@MaxDesiatov MaxDesiatov changed the title GDB remote protocol: support call stack command GDB remote protocol: support qWasmCallStack Oct 20, 2025
@MaxDesiatov MaxDesiatov changed the title GDB remote protocol: support qWasmCallStack GDB RP: support qWasmCallStack Oct 20, 2025
Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about landing the GDBRemoteProtocol module to the main branch first, then land the remaining engine changes?

I'd like to review the engine changes carefully not to regress performance and spec compliant, so splitting them would help me a lot 🙏

@MaxDesiatov MaxDesiatov force-pushed the maxd/lldb-remote-protocol branch 2 times, most recently from 35bc821 to 2d065e0 Compare October 21, 2025 12:19
@MaxDesiatov MaxDesiatov force-pushed the maxd/lldb-remote-protocol branch 3 times, most recently from fed04da to 17f9d5f Compare October 22, 2025 08:53
@MaxDesiatov MaxDesiatov force-pushed the maxd/lldb-remote-protocol branch from 17f9d5f to 16ac0cf Compare October 22, 2025 08:56
@MaxDesiatov MaxDesiatov changed the title GDB RP: support qWasmCallStack Add basic GDB remote protocol encoding/decoding Oct 22, 2025
@MaxDesiatov MaxDesiatov added the wasm debugging Support for debugging of executed Wasm label Oct 22, 2025
@MaxDesiatov MaxDesiatov marked this pull request as ready for review October 22, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement wasm debugging Support for debugging of executed Wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants