diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-17 02:16:23 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-17 02:16:23 +0100 |
| commit | d82db3ea9a36b15aab5fae2021948ef4b96e92b0 (patch) | |
| tree | 83024e2a62564b0b1996c8ef0aef5e7217f65d2c /README.md | |
| parent | 7288e081d7ca39d6e5501d74f912fd92f9aee58d (diff) | |
| download | toy-debugger-d82db3ea9a36b15aab5fae2021948ef4b96e92b0.tar.gz | |
Update readme with new debugger commands and usage examples
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
