From d82db3ea9a36b15aab5fae2021948ef4b96e92b0 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 17 Jan 2026 02:16:23 +0100 Subject: Update readme with new debugger commands and usage examples --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 0641343..7f37fdf 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,13 @@ After you clone the repository build the debugger and a sample program with Run the debugger with: `./tdbg ` +Example with arguments and environment variables: + +```sh +./tdbg ./example arg1 arg2 arg3 +./tdbg ./example -e MYENV=qwe -- arg1 arg2 arg3 +``` + ### Interactive Commands | Key | Action | @@ -37,7 +44,10 @@ Run the debugger with: `./tdbg ` | `s` | **Step into** | | `o` | **Step out** | | `c` | **Continue** execution | +| `w` | **Watch** expression | | `q` | **Quit** debugger | +| `>` | **Reduces sidebar width** | +| `<` | **Increases sidebar width** | ### Input Mode -- cgit v1.2.3