Debugger - mikroElektronika PIC Microcontrollers PIC12 User Manual

Mikroc user's manual
Table of Contents

Advertisement

mikroC
making it simple...

DEBUGGER

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.
Start Debugger
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.
Pause 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
Step Into
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 Over
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-
Step Out
lowing the call.
Run to cursor [F4]
Executes all instructions between the current instruction and the cursor position.
Run to Cursor
MikroElektronika: Development tools - Books - Compilers
mikroC - C Compiler for Microchip PIC microcontrollers
page
7

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents