Skip to content

Commit

Permalink
updated debugger usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchUsr64 authored Jan 10, 2024
1 parent cb010cd commit 8903368
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ Source Code for [snake](examples/snake.asm)

## Usage
### Debugging
Left click on the window to pause the execution at any time or start in paused state via the `-s` flag. Once paused, use the `Space` key to execute instructions step by step. Left click again to resume execution.
Additionally the `-e` option can be used to specify the number of instructions to execute on the emulated CPU per frame.
Click the 'Pause Execution' button in the Debug Controls window to pause the execution at any time or start in paused state via the `-s` flag.
Once paused, use the `Step` button to execute the next instruction.

Add breakpoints from the 'Breakpoints' window and press the 'X' button to remove previously added entires.

Additionally the simulation speed can be adjusted using the slider or with the `-i` flag.

### Logging
Use the `-v` flag to specify the level of verbosity for log output:
| `-v` | Log Level |
Expand Down

0 comments on commit 8903368

Please sign in to comment.