Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using PICKit2 as a Debugger ? How to update watch window

Status
Not open for further replies.

saeed_pk

Full Member level 4
Joined
May 20, 2006
Messages
237
Helped
35
Reputation
68
Reaction score
28
Trophy points
1,308
Location
Islamabad, Pakistan
Activity points
2,655
I am using PICKit2 as a debugger in MPLAB. and C-30 Compiler
Please any one tell when i step through target i want to see the values of SFR
how do i update watch window of MPLAB
 

Re: Using PICKit2 as a Debugger ? How to update watch windo

Your two main controls in debugger are F9 to Run and F7 to single step.
F7 will update the Watch and File Register windows on each instruction step.

In your code you add a Breakpoint at the place you want to start single stepping, so in debugger you first F9 Run and it will go through your code at full speed and then stop at the Breakpoint so you can F7 Single step and examine the contents of the registers.

If you use 2 breakpoints then you can use the Stopwatch to measure how long a specific routine like a delay takes.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top