I have hooked up all of the equipment and am able to program and run on the labx1 board. I want to use the pickit2 to debug and single step.
When i try to do this, it single steps but does not go to the source to tell me what line is being executed. How do i setup it all up? I am using this demo prog with the debug.bas file.
' PicBasic Pro program to blink an LED connected to PORTD.0 about once a second
LED var PORTD.0 ' Alias PORTD.0 to LED
Include "debugmon.bas"
debugflags.0 = 1 ' Start in debug monitor
loopX: High LED ' Turn on LED connected to PORTD.0
Pause 500 ' Delay for .5 seconds
Low LED ' Turn off LED connected to PORTD.0
Pause 500 ' Delay for .5 seconds
Goto loopX ' Go back to loop and blink LED forever
End
Bookmarks