Техническая Спецификация для Mikroelektronika MIKROE-442
130
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
Software Simulator Debug Windows
Debug Windows
This section provides an overview of available Debug Windows in mikroBasic PRO for dsPIC30/33 and PIC24:
- Breakpoints Window
- Watch Values Window
- RAM Window
- Stopwatch Window
- EEPROM Watch Window
- Code Watch Window
Breakpoints Window
The Breakpoints window manages the list of currently set breakpoints in the project. Doubleclicking the desired
breakpoint will cause cursor to navigate to the corresponding location in source code.
In situations when multiple breakpoints are used within the code, it is sometimes handy to enable/disable certain
breakpoints. To do this, just check/uncheck the desired breakpoint using the checkbox in front of the breakpoint’s
name.
Watch Values Window
Watch Values Window is the main Debugger window which allows you to monitor program execution. To show the
Watch Values Window, select
Debug Windows › Watch from the View drop-down menu.
The Watch Values Window displays variables and registers of the MCU, with their addresses and values. Values are
updated along with the code execution. Recently changed items are coloured red.
There are two ways to add variable/register into the watch list:
- by its real name (variable's name in program code). Just select wanted variable/register from
Select
variable from list drop-down menu and click the button.
- by its name ID (assembly variable name). Simply type name ID of the variable/register you want to
display into
Search for variable by assemby name box and click the button.