Difficulty Removing Variable from WatchList

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Difficulty Removing Variable from WatchList

Post by oldefoxx »

In trying to remove a variable (or group of variables) from the WatchList, you cannot select from the posted variables - instead, you either have to cut-and-paste the variable name from the source code, or type it in by hand.

The Clear button was effective in setting all posted variables back to 0, but
that does not seem particularly useful to me. Being able to reassign a value to a variable might be useful, especially if you want to emulate reaching some limit. I think if the Clear button was used to remove all selected variables (and you could select one or more variables at once), that would be a pretty effective way to manage the WatchList.
has-been wanna-be (You may not agree with what I say, but it will make you think).
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Sorry, i do not understand your problem. Just select a variable in the list and hit 'delete' and it is gone.
quidquid Latine dictum sit altum videtur
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Post by josku_x »

you can select only one varable in the list to delete, but what about selecting more than one at a time?
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Post by oldefoxx »

I think you had better check again. I just opened the PureBasic IDE for version 4 Beta 10, compiled a program with the Debugger, brought up the
WatchList, selected a variable to remove from the Watch, and tried both the
Delete key and Remove Button, and nothing happens. The watch item does
not go away.
has-been wanna-be (You may not agree with what I say, but it will make you think).
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Post by oldefoxx »

I found the use of Alt-S documented under Tools, so I stand corrected again.
I'm impressed anew with the scope of the functionality found in PureBasic.

So it seems odd that the line continuation problem has not been addressed yet,

I've written my own source parser to handle reformatting of source code, and I found that line continuation is just a matter of checking the right side of each line for the continuation symbol (once the comments have been stripped out and the line trimmed), and if you find one, just hold that line and append the next, and repeat as necessary.

I'm sure that with the Debugger overhead, folding, breakpoints, etc, that the
IDE would be more challenging. But still, a first implementation could allow
for some inexactness when stepping the code or setting breakpoints.
has-been wanna-be (You may not agree with what I say, but it will make you think).
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

Post by oldefoxx »

I'm pleased to say that I just installed version 4 Beta 11, and the problem
with deleting items from the WatchList no longer shows up.
has-been wanna-be (You may not agree with what I say, but it will make you think).
Post Reply