Silverfrost Forums

Welcome to our forums

Variable Watch

28 Jan 2009 3:49 #4247

I am using Plato3. When I display certain variables outside of my current program window and re-start the debugger, I first receive values for all 'watched' variables that say unknown values, which is expected until I get into the subroutine where the variables are defined. However, once I go to the subroutine where the variables are, the variable lists vanish! Is this the way the program is supposed to work? it is very work intensive to re instate all variables to be watched. I would think that once the variable lists are established, they would still be displayed without re defining once the debugger is re-started, not stopped and then started again. Please reply. Thanks, Sid Kraft

28 Jan 2009 4:31 #4248

You may be looking at an automatic 'watch' window for local variables. Perhaps you need to be using your own 'watch' (right click on the variable in the code, I think) which will be more permanent.

28 Jan 2009 5:46 #4249

Paul: I did define the watch by specifying the variables in the window and 'right clicked' on the add variable item. The system provides the variable watch windows but when I re-start the debugger, the variable windows vanish?? Sid Kraft

29 Jan 2009 10:45 #4251

As far as I know the debugger (SDBG) does not remember your 'watch' variables from one run to another. You can, however, restart the program without exiting from SDBG by selecting from the main 'Run' menu.

29 Jan 2009 2:12 #4252

Hi Again Paul: I did select re-start from the debug 'run' menu, still lose the variable 'watch' windows, guess there is no way to keep the watch windows open when you re-start, Sid Kraft

Please login to reply.