Skip to content
Snippets Groups Projects
Commit 09313efb authored by Rene Redler's avatar Rene Redler
Browse files

fixes gdb options

parent 7c631494
No related branches found
No related tags found
1 merge request!56Debugging Strategies lecture notes
Pipeline #67081 passed
...@@ -837,16 +837,17 @@ end program loop_count_2d ...@@ -837,16 +837,17 @@ end program loop_count_2d
- `b <line>`: Add breakpoint at given line number - `b <line>`: Add breakpoint at given line number
- `info b`: Show current breakpoints - `info b`: Show current breakpoints
- `clear`: Clear all breakpoints - `clear`: Clear current breakpoint
- `d`: Clear all breakpoints
- `run`: Run the program - `run`: Run the program
- `l`: Print code - `l`: Print code
- `info locals`: Print value of local variables - `info locals`: Print value of local variables
- `p <var>`: Print value of variable
::: :::
:::{.column width=50%} :::{.column width=50%}
- `p <var>`: Print value of variable
- `up`, `down` or `frame <num>`: Navigate stack - `up`, `down` or `frame <num>`: Navigate stack
- `n`: Next line (without descending) - `n`: Next line (without descending)
- `step`: Next command - `step`: Next command
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment