ABL electronic PIC12 Personal Computer User Manual


 
MikroElektronika:
Development
tools
-
Books
-
Compilers
7
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
The source-level Debugger is an integral component of mikroC development envi-
ronment. It is designed to simulate operations of Microchip Technology's
PICmicros and to assist users in debugging software written for these devices.
The 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.
After you have successfully compiled your project, you can run the Debugger by
selecting Run > Debug from the drop-down menu, or by clicking the 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.
Debug [F9]
Start the Debugger.
Run/Pause Debugger [F6]
Run or pause the Debugger.
Step Into [F7]
Execute the current C (single– or multi–cycle) instruction, then halt. If the instruc-
tion is a routine call, enter the routine and halt at the first instruction following the
call.
Step Over [F8]
Execute the current C (single– or multi–cycle) instruction, then halt. If the instruc-
tion is a routine call, skip it and halt at the first instruction following the call.
Step Out [Ctrl+F8]
Execute the current C (single– or multi–cycle) instruction, then halt. If the instruc-
tion is within a routine, execute the instruction and halt at the first instruction fol-
lowing the call.
Run to cursor [F4]
Executes all instructions between the current instruction and the cursor position.
DEBUGGER
Start Debugger
Step Into
Step Over
Step Out
Pause Debugger
Run to Cursor