Show Globals

Jim Ault JimAultWins at yahoo.com
Tue Dec 9 19:38:04 EST 2008


A couple comments about global variables and variable watcher.

1) I am using 2.9 so I don't see the 'slow' behavior

2) I prefix all my globals with 'z' and my script locals with 'x' so that
they sort to the bottom of the watcher window.

3) you can use the 'page up' ' page down' keys to jump after you have
clicked somewhere on the variable watcher window, although slow scrolling
may still occur.

4)  if you don't need to see the contents of the globals during debugging,
why not try using custom properties?  This works more easily if you are
always using one main stack and one property set but may not change the slow
performance.

Hope this gives you and idea or two.

Jim Ault
Las Vegas


On 12/9/08 4:07 PM, "Fred moyer" <fmoyer at aol.com> wrote:

> Hi everyone. Am I the only one for whom the script editor on 3.0 is
> glacially slow? It is almost impossible at times to code, especially
> when I have lots of huge globals loaded.
> 
> For that matter, in Preferences, it seems that checking or unchecking
> "Show Globals" in the Script Editor area makes no difference. I still
> see all of my globals (as well as $User and other $ variables)
> listed. Simply comparing 2 variables if they start with say A and Z
> can take 20 seconds or more.
> 
> Stepping through scripts is also unbelievably slow.
> 
> All of this wouldn't be so bad if the variables were not locked
> underneath the script so that the variable list by definition must be
> short requiring lots of scrolling up and down.
> 
> Are there any workarounds? For example:
> 
> - Is it possible for example to truly not see globals that are not
> referred to in a particular script?
> - Is it possible to have Revolution use the old style script editor?
> (I notice that the present script editor is called
> "revNewScriptEditor" which implies an element of experimentation.)
> - Is it possible to drag the Variable list away from the window?
> 
> Incidentally, I noticed when starting to report a bug today, I saw
> that one of the choices was Revolution 3.5.0 Is there a new version
> available??
> 
> Thanks
> Fred Moyer
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list