Page 1 of 1
variables in debugger
Posted: Thu Oct 22, 2015 10:16 am
by Fermin
Hi, Is there any way to hide the $ variables in the debugger, or better yet, show only selected variables?
Thank you very much in advance.
Re: variables in debugger
Posted: Thu Oct 22, 2015 4:33 pm
by dunbarx
Hi.
First, open the script of stack "revDebugger" (or "revDebuggerLibrary")
Look for the function "revDebuggerValidGlobalNames" around line 223. Replace it with:
Code: Select all
function revDebuggerValidGlobalNames
local tGlobalsRaw
put the globals into tGlobalsRaw
replace comma with return in tGlobalsRaw
filter tGlobalsRaw without "*(x86)"
filter tGlobalsRaw without "$*"
filter tGlobalsRaw without "grev*"
replace return with comma in tGlobalsRaw
return tGlobalsRaw
end revDebuggerValidGlobalNames
You will have to do this every time you upgrade LC, but it is such a pleasure. Thierry is the one to thank.
Craig Newman
Re: variables in debugger
Posted: Thu Oct 22, 2015 10:17 pm
by Simon
Did you see in LC 8 they now have a toggle for removing the $ vars?
Simon
Re: variables in debugger
Posted: Fri Oct 23, 2015 11:04 am
by Fermin
DUNBARX. Ok. I will study it.
SIGMUND: I'm working with LC7, because LC8 gave me problems when I tried it a few months ago, but I think I'll try again.
Thank you both for your answers.
Gracias.

Re: variables in debugger
Posted: Fri Oct 23, 2015 11:57 am
by Klaus
Re: variables in debugger
Posted: Fri Oct 23, 2015 1:53 pm
by dunbarx
It was a Freudian slip.
Craig
Re: variables in debugger
Posted: Fri Oct 23, 2015 6:38 pm
by Simon
Tell me about your mother...
Do you feel she was a variable?
Simon
Re: variables in debugger
Posted: Fri Oct 23, 2015 7:45 pm
by mwieder
...sometimes a variable is just a variable.
Re: variables in debugger
Posted: Fri Oct 23, 2015 10:24 pm
by Fermin
I'm so sorry, SIMON. I just saw the error. I do not speak good English and use the help of Google Translator. I usually always go over what I write, like this time, but I confess that I have not noticed the names. I ask sincerely apologize and will try not happen again.
Although this time I do not see that Google T. has changed the name ... it may have been the word processor ... or my own subconscious (Grrrr ... Frrrreeeud !!!). Anyway. Again I apologize.
Re: variables in debugger
Posted: Fri Oct 23, 2015 10:43 pm
by Simon
No worries Fermin, we all got a good chuckle out of it. (I wonder what Google Translate will do with that sentence?)
Keep on LiveCoding!
Simon