Easy Method to Add/Remove Variables to WatchList
Posted: Thu May 04, 2006 5:08 am
WatchList is potentially better for watching structure contents than Variable Viewer is, but two things make it somewhat harder to use.
First, You cannot access or edit the WatchList unless you Compile/Run the program. That might be necessary, but it is inconvenient if you want to add or remove a variable in the WatchList before the program runs. You pretty much have to set a breakpoint or insert a CallDebugger command to stop the program, edit the WatchList, then Continue execution or step the program,
Second, You don't have a real convenenient way to use an F-key or mouse
button to toggle a variable under the cursor or mouse position to have it
added or removed quickly from the WatchList - at least I haven't found one yet. You end up having to open the WatchList, then make changes there. either copying and pasting the selected variable, or to just remove or delete it from the list.
Hmmm. I've recpmsidered a part of this requiest. I just want the
ability to add a variable from the source file to the WatchList by using an
F-key or mouse. To remove it, just open the WatchList and remove it
there. Then no confusion about whether the variable is in the WatchList
or not, and eliminatges the uncertainty that a toggle action would cause.
First, You cannot access or edit the WatchList unless you Compile/Run the program. That might be necessary, but it is inconvenient if you want to add or remove a variable in the WatchList before the program runs. You pretty much have to set a breakpoint or insert a CallDebugger command to stop the program, edit the WatchList, then Continue execution or step the program,
Second, You don't have a real convenenient way to use an F-key or mouse
button to toggle a variable under the cursor or mouse position to have it
added or removed quickly from the WatchList - at least I haven't found one yet. You end up having to open the WatchList, then make changes there. either copying and pasting the selected variable, or to just remove or delete it from the list.
Hmmm. I've recpmsidered a part of this requiest. I just want the
ability to add a variable from the source file to the WatchList by using an
F-key or mouse. To remove it, just open the WatchList and remove it
there. Then no confusion about whether the variable is in the WatchList
or not, and eliminatges the uncertainty that a toggle action would cause.