Welcome!

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

SignUp Now!

WAD Can't add variable to watchlist

Jan
179
2
When I attempted to add a variable to my watchlist I right-clicked initially on the variable but there was no option to add it to the watch list so instead I went to the debug menu and there at the bottom was Add to Watchlist but it was grayed out???? Not sure what I'm missing here?
 
Select the variable with the mouse, right click, and click "Add to Watch".

Or open the Watch tab, double click on a blank line in the Name column, and enter the variable name.

"Add to Watch" in the Debug menu will only be enabled when you have selected something in the edit window.
 
Seems to be something specific to this variable "processFound". Is it a reserved word perhaps? Can't get a value on any line by hovering.
 

Attachments

This is happening on If statements. Seems the first variable in the IF just won't display. The other is the Set command. It, the problem of displaying the value, seems to be highly correlated to both.
 
Yet another of these WAD which is a BUG in disguise so here are yet another several examples. Not that anyone answered the last one from June 3rd. I wanted to test your parenthesis and so let's add these variables that literally change during this statement but of course I cannot add a single one to the watch list and only 1 showed anything while hovering.

Screenshot_20260617_230241_RVNC Viewer.webp
Screenshot_20260617_230325_RVNC Viewer.webp
Screenshot_20260617_230511_RVNC Viewer.webp
Screenshot_20260617_230538_RVNC Viewer.webp


OK let's try the same variable different line. Nope. Not gonna do it.

Screenshot_20260617_230826_RVNC Viewer.webp


And yet a different line. Nope.

Opp's can't upload more than 5.
 
As Rex has already mentioned above, you need to select some text before right clicking and then "Add to Watch" will be enabled. None of your screenshots show any text selected.
 
If I can hover over a variable and get a value then I shouldn't have to highlight or select the entire variable, which has it's own issues of how and what to include, hovering should be compatible with adding the variable to the watch list. If you can provide a value hovering then it should be just as easy to add it to a watch list.
 
If I can hover over a variable and get a value then I shouldn't have to highlight or select the entire variable, which has it's own issues of how and what to include, hovering should be compatible with adding the variable to the watch list. If you can provide a value hovering then it should be just as easy to add it to a watch list.

They're totally unrelated. And if highlighting has issues about what to include, why would hovering automagically do it?

At any rate, you're making a feature request, not a bug report.
 
They're totally unrelated. And if highlighting has issues about what to include, why would hovering automagically do it?

At any rate, you're making a feature request, not a bug report.
Hovering has to figure out the variable name to display the value once that's done you know what needs to be added to the watch list why make it difficult especially on a system where the highlighting wants to include the entirity of the variable name.
 
They're totally unrelated. And if highlighting has issues about what to include, why would hovering automagically do it?

At any rate, you're making a feature request, not a bug report

I have written up issues regarding hovering and not displaying values.

I can't imagine that passing that variable name to the other process is any different than highlighting it and passing it.
 
I have written up issues regarding hovering and not displaying values.

So - you now agree that hovering also struggles to decipher the content under the cursor?

I can't imagine that passing that variable name to the other process is any different than highlighting it and passing it.

The editor & hover code is Scintilla.dll, a third-party edit control. Passing the variable name to CMDebug.exe is vastly different than hovering over it.
 
So - you now agree that hovering also struggles to decipher the content under the cursor?
I've posted screen captures of hover's not working. I don't think I ever said it was without problems. I specifically mentioned that it has isssues with If and Set statements and I presume that's because these statements have non-standard variable names. I suspect that hovering isn't robust enough to correct for the statement types. It needs to create the environmental or command line variable names to get values.

I didn't know that it was an external dll although I guess if I had thought about it I could have figured it out. I've had issues with Powershell and it's error reporting that's has color codes throughout making it next to impossible to read without an editor that handles those codes which required Scintilla to be able to read them. Scintilla was there but the editors weren't able to handle the codes. I was able to get that done with Notepad++ and Sublime.
 
Back
Top