Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Debugger CLI #204

Closed
wants to merge 2 commits into from
Closed

WIP: Debugger CLI #204

wants to merge 2 commits into from

Conversation

Dentosal
Copy link
Member

@Dentosal Dentosal commented Mar 7, 2022

Support for attaching a debugger to a running fuel-core node. The debugger receives a new TCP connection for each started transaction (so for each new VM), and is able to control and monitor it's execution. The TCP connection is then used to transmit linefeed-delimited JSON messages. The fuel-core debug component performs the given commands sequentially and responds to each with a JSON reply. Each command results in exactly one reply.

The debugger is fully programmable. The JSON interface is defined with serde-derive structs, and a Rust library for communicating with the fuel-core debug component is proveded as well. In addition, a CLI interface is proveded as well.

The implementation is still in progress, but feel free to leave comments on the general approach.

@Dentosal Dentosal self-assigned this Mar 7, 2022
@Dentosal
Copy link
Member Author

Dentosal commented Mar 7, 2022

Waiting for FuelLabs/fuel-vm#90

@Voxelot Voxelot added this to the Minimally Viable FuelVM Debugger milestone Mar 17, 2022
@Dentosal
Copy link
Member Author

Dentosal commented Mar 21, 2022

Blocked:

  • Create and release fuel-debugger repo
  • Release new fuel-vm version (with debugger improvements already on master)

@Dentosal
Copy link
Member Author

Blocked by FuelLabs/fuel-debugger#1

@Dentosal
Copy link
Member Author

Migrating to #260

@Dentosal Dentosal closed this Apr 11, 2022
@Voxelot Voxelot deleted the debugger-cli branch October 7, 2022 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants