page 23
pr
ogr
amming
Here is a short overview of which debugging commands are supported in mikroElektronika compilers. You can see what each command does,
and what are their shortcuts when you are in debugging mode. It will give you some general picture of what your debugger can do.
Toolbar
Icon
Command Name
Shortcut
Description
Start Debugger
[F9]
Starts Debugger.
Run/Pause Debugger
[F6]
Run/Pause Debugger.
Stop Debugger
[Ctrl + F2]
Stops Debugger.
Step Into
[F7]
Executes the current program line, then halts. If the executed
program line calls another routine, the debugger steps into the
routine and halts after executing the first instruction within it.
Step Over
[F8]
Executes the current program line, then halts. If the executed program
line calls another routine, the debugger will not step into it. The whole
routine will be executed and the debugger halts at the first instruction
following the call.
Step Out
[Ctrl + F8]
Executes all remaining program lines within the subroutine. The
debugger halts immediately upon exiting the subroutine.
Run To Cursor
[F4]
Executes the program until reaching the cursor position.
Toggle Breakpoint
[F5]
Toggle breakpoints option sets new breakpoints or removes those
already set at the current cursor position.
Show/Hide breakpoints
[Shift+F4]
Shows/Hides window with all breakpoints
Clears breakpoints
[Shift+Ctrl+F5]
Delete selected breakpoints
Jump to interrupt
[F2]
Opens window with available interrupts (doesn't work in mikroICD
™
mode)
mikroICD
™
commands