filter variable watch tab
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
filter variable watch tab
Is there a way to filter the view for the variable watch tab?
I am not using the path information at present so I would like to remove all $PATH type ($) variables from the watch window.
Thanks!
I am not using the path information at present so I would like to remove all $PATH type ($) variables from the watch window.
Thanks!
Re: filter variable watch tab
Yes. I do this.
This was a thread several months ago. I will find it tomorrow, unless someone beats me to it.
It is SO much nicer, and so much less cluttered in normal use to lose those.
Craig Newman
This was a thread several months ago. I will find it tomorrow, unless someone beats me to it.
It is SO much nicer, and so much less cluttered in normal use to lose those.
Craig Newman
Re: filter variable watch tab
Check out Thierry's post in the Nov. 2010 archives. Works for me. I hated all those system globals. I had to scroll down all the time to see my own.
Craig Newman
Try out this simple script :
on mouseUp
local G
put the globals into G
replace comma with return in G
filter G without "$*"
put G
end mouseUp
Then go for the revdebugger.rev stack and open the stack script.
Look for the function below around line 223 :
# Returns
# A list of the globals with valid names. I.e not the ones with (x86) in them on Vista 64bit.
function revDebuggerValidGlobalNames
And there operate on the globals as shown above
And last, probably better to make a copy of your LiveCode App before starting
Craig Newman
Try out this simple script :
on mouseUp
local G
put the globals into G
replace comma with return in G
filter G without "$*"
put G
end mouseUp
Then go for the revdebugger.rev stack and open the stack script.
Look for the function below around line 223 :
# Returns
# A list of the globals with valid names. I.e not the ones with (x86) in them on Vista 64bit.
function revDebuggerValidGlobalNames
And there operate on the globals as shown above
And last, probably better to make a copy of your LiveCode App before starting

Re: filter variable watch tab
Also, for a better debugging experience, check out PowerDebug.<g> On revOnLine or view the demo revlet at http://www.ahsoftware.net/PowerTools/Po ... DDemo.html
http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev
http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev
Re: filter variable watch tab
I tried opening the revdebugger.rev stack in LiveCode. I see the application window but I'm unable to see the script for that stack. The application browser is blank with no contents. I am missing something?
Re: filter variable watch tab
I found the original post by googling 'revDebuggerValidGlobalNames revdebugger.rev', it does not contain any further detail.
Re: filter variable watch tab
In the menubar's View menu, select LiveCode UI Elements in Lists. The revDebugger stack will then show up in the Application Browser.