Where is revDebugger?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Where is revDebugger?
I have long used Thierry's hack to eliminate system globals when debugging. I cannot live without this.
As of v. 6.7.4, There is no longer a stack named "revDebugger" in which I can hack the stack script. Yet I do believe there is a debugger stack included with that version. Anyone know if the name of that stack has changed? How about in v.7? V.8?
Craig Newman
As of v. 6.7.4, There is no longer a stack named "revDebugger" in which I can hack the stack script. Yet I do believe there is a debugger stack included with that version. Anyone know if the name of that stack has changed? How about in v.7? V.8?
Craig Newman
Re: Where is revDebugger?
PHEW!
revdebuggerlibrary
I'd be lost without that fix.
Simon
revdebuggerlibrary
I'd be lost without that fix.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Where is revDebugger?
Hi Craig,dunbarx wrote:I have long used Thierry's hack to eliminate system globals when debugging. I cannot live without this.
I'm feeling old, reading this...
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
Re: Where is revDebugger?
There's a fix? Where, where? Please share.
Re: Where is revDebugger?
My notes
revdebuggerlibrary
--revDeBugger
revDebuggerValidGlobalNames
add
filter tGlobalsRaw without "$*"
filter tGlobalsRaw without "grev*"
revdebuggerlibrary
--revDeBugger
revDebuggerValidGlobalNames
add
filter tGlobalsRaw without "$*"
filter tGlobalsRaw without "grev*"
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Where is revDebugger?
Thanks! I will add that to my list of ide hacks.
Re: Where is revDebugger?
This is Thierry's hack:
First, open the script of stack "revdebugger". --or "revDebuggerLibrary" in v. 6.7.4 and above. NOTE that you may have to quit and restart LC for the changes to take place
Look for the function "revDebuggerValidGlobalNames" around line 223 :
Replace it with:
Thank heaven for this.
Now please tell me whether this can be done in v.6.7.4 or above. If I try to execute:
I get a little note that there is no such stack
I WILL stay with an earlier version until I can find out where the %$#&*^ debugger stack is.
Craig
EDIT.
Just read Simon's post above that the name of the debugger is now "revDebuggerlibrary". Thanks for that. All is well again...
First, open the script of stack "revdebugger". --or "revDebuggerLibrary" in v. 6.7.4 and above. NOTE that you may have to quit and restart LC for the changes to take place
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
Now please tell me whether this can be done in v.6.7.4 or above. If I try to execute:
Code: Select all
edit the script of stack "revdebugger"
I WILL stay with an earlier version until I can find out where the %$#&*^ debugger stack is.
Craig
EDIT.
Just read Simon's post above that the name of the debugger is now "revDebuggerlibrary". Thanks for that. All is well again...
Re: Where is revDebugger?
Thierry.
Craig
Old? I bet I am the oldest person on this forum. I voted for Stevenson.Hi Craig,
I'm feeling old, reading this...
Craig
-
- VIP Livecode Opensource Backer
- Posts: 10057
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Where is revDebugger?
FWIW the Debugger library uses the new text-only stack format, so you can edit it with any text editor you like.
You'll find these text-only libraries in the LiveCode application folder, in <LC app>/Toolset/Libraries/
You'll find these text-only libraries in the LiveCode application folder, in <LC app>/Toolset/Libraries/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn