ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sun Sep 19, 2010 1:25 pm |
|
|
Easiest thing:
Install the free Microchip MPLAB IDE. Select the Simulator tool and then run your program on the PC. You can set breakpoints, single step and examine variables.
Best thing, but requires buying some hardware:
Buy an In Circuit Debugger tool like the Microchip ICD3, the CCS ICDU or a Microchip PicKit3. The last one is the cheapest, starting at US$ 45.
These tools allow you to do the debugging on the real hardware while you step through your program on the PC. |
|