summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-17 02:16:23 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-17 02:16:23 +0100
commitd82db3ea9a36b15aab5fae2021948ef4b96e92b0 (patch)
tree83024e2a62564b0b1996c8ef0aef5e7217f65d2c /README.md
parent7288e081d7ca39d6e5501d74f912fd92f9aee58d (diff)
downloadtoy-debugger-d82db3ea9a36b15aab5fae2021948ef4b96e92b0.tar.gz
Update readme with new debugger commands and usage examples
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
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 <target_executable>`
+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 <target_executable>`
| `s` | **Step into** |
| `o` | **Step out** |
| `c` | **Continue** execution |
+| `w` | **Watch** expression |
| `q` | **Quit** debugger |
+| `>` | **Reduces sidebar width** |
+| `<` | **Increases sidebar width** |
### Input Mode