Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? Change a watch list value

Jan
179
2
I added a variable to my watch list because it was one of those that won't hover and show a value which I reported elsewhere. I don't seem to have any access to the value section and even though I would have expected it to show in the Environment section it does not. My presumption is because it's value was set to null CMDebug ignores it until it has an actual value?
 
If a variable is undefined, and if it isn't in the Environment pane (and it is an environment variable, not an internal variable) it presumably is not defined, there is no value to display in the Value field. So it will be blank.

The Value field is read-only in the Watch pane.
 
If you have an undefined variable, how is the debugger supposed to know it exists? Adding it to the watch list doesn't create it.

The reason the watch list is read-only for the values is because the "variables" you can add there are not just environment variables or batch variables (which can be modified in their own pane windows), but also internal variables and variable functions, which would be at best confusing and at worst disastrous if you redefined them.
 
Back
Top