I would like to 'trap' a variable at certain intervals and review its value. How does on do this in Silverfrost Fortran? Sid Kraft
Variable Tracking
It is not clear to me what you are looking for. Why not just PRINT the value when you want it. Alternatively you can set break points in the debugger at points where you want to see the value.
Quoted from stfark1 I would like to 'trap' a variable at certain intervals and review its value. How does on do this in Silverfrost Fortran? Sid Kraft To Clarify: Is there a way to show the value of a variable when it changes without directly displayin it? I.E. a program 'stop and display' automatically when value changes? 'watch' or?
Quoted from stfark1
Quoted from stfark1 I would like to 'trap' a variable at certain intervals and review its value. How does on do this in Silverfrost Fortran? Sid Kraft To Clarify: Is there a way to show the value of a variable when it changes without directly displayin it? I.E. a program 'stop and display' automatically when value changes? 'watch' or? ?
When you use the debugger SDBG, you can watch and set a write break on a given variable. This means than, went you set the program to run, there will be an automatic break each time the variable changes.
Start off by learning how to use the debugger and then right click on the variable in the program code and select the appropriate menu items.