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

#218 in Debugging

Download history 17/week @ 2024-02-21 84/week @ 2024-02-28

101 downloads per month

MIT/Apache

20KB
344 lines

rdbg-view

Crate Docs MSRV

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.3–1.8MB
~36K SLoC