In SX Microcontrollers, SX/B Compiler and SX-Key Tool, John Kauffman wrote: I also have problems getting the WATCH to behave as expected. I condensed Duffling's code even further and took Jon's advice to move the WATCH to the the VAR declarations, as follows: '------------------------------ DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX FREQ 4_000_000 '---------------------------------------------------- ' VARs DECLARATIONS counter1 var BYTE WATCH COUNTER1,8,UDEC '---------------------------------------------------- PROGRAM start start: COUNTER1=0 lOOP: INC COUNTER1 GOTO LOOP When I run in debug mode the code and register windows show stepping through the loop but Counter1 in the Watch window remains at zero. How to get Watch to show contents of a variable while stepping or walking in Debug mode? Thanks. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=68398#m114725 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)