7 releases
0.2.3 | Jan 28, 2023 |
---|---|
0.2.2 | Jan 27, 2023 |
0.2.1 | Dec 10, 2022 |
0.1.3 | Dec 10, 2022 |
#621 in Debugging
26 downloads per month
20KB
344 lines
rdbg-view
A basic command-line viewer for rdbg
Install
cargo install rdbg-view
Command-line Options
A basic command-line viewer for rdbg
Usage: rdbg-view [OPTIONS] [HOSTNAME]
Arguments:
[HOSTNAME] Remote hostname of debugged program [default: 127.0.0.1]
Options:
-p, --port <PORT> Remote port on debugged program [default: 13579]
-d, --debug-fmt Use debug formatting for messages (:#? formatting style)
-h, --help Print help information
-V, --version Print version information
Example output
The current version provides a typical log viewer by default, but a Rust debug
style output (:#? formatting) is available as well with the --debug-fmt
flag
*** Trying to connect to 127.0.0.1:13579... ***
*** Connected to 127.0.0.1:13579 ***
T:1670688040648 THR:1 rdbg/examples/hello_world.rs:4 hello world
T:1670688040648 THR:1 rdbg/examples/hello_world.rs:5 |world->"world"| |1 + 5->6|
*** Disconnected from 127.0.0.1:13579 ***
Dependencies
~1.2–1.7MB
~33K SLoC