User`s manual
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
MikroElektronika:
Development
tools
-
Books
-
Compilers
mikroBASIC
making it simple...
17
page
Source-level Debugger is integral component of mikroBasic development environ-
ment. It is designed to simulate operations of Microchip Technology's PIC MCU’s
and to assist users in debugging Basic software written for these devices.
Debugger simulates program flow and execution of instruction lines, but does not
fully emulate PIC device behavior: it does not update timers, interrupt flags, etc.
Jump to interrupt is performed by clicking the Interrupt icon .
After you have successfully compiled your project, you can run Debugger by
selecting Run > Debug from drop-down menu, or by clicking Debug Icon .
Starting the Debugger makes more options available: Step Into, Step Over, Run to
Cursor etc. Line that is to be executed is color highlighted (blue).
Debug [F9]
Starts Debugger.
Step Into [F7]
Execute the current Basic instruction (single or multiple cycle instructions) and
then halt. After execution, all windows are updated. If the instruction is a proce-
dure or function call, execute it enters routine and halt at the first following
instruction after the call.
Step Over [F8]
Execute the current Basic instruction (single or multiple cycle instructions) then
halt. If the instruction is a procedure or function call, execute the called routine
and halt at the instruction following the call.
Run to cursor [F4]
Executes all instructions between the current instruction and the cursor position.
Toggle Breakpoints [F5]
Toggle breakpoint at current cursor position.
DEBUGGER
Debug Icon.
Debug Icon.