rdbg-view

Crates.iordbg-view
lib.rsrdbg-view
version0.2.3
sourcesrc
created_at2022-12-10 03:22:44.684079
updated_at2023-01-28 19:28:58.793955
descriptionA basic command-line viewer for rdbg
homepage
repositoryhttps://github.com/nu11ptr/rdbg/tree/main/rdbg-view
max_upload_size
id733707
size14,482
Scott Meeuwsen (nu11ptr)

documentation

https://docs.rs/rdbg_view

README

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 ***
Commit count: 0

cargo fmt