Variable Watcher

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Ralph Forehand
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 42
Joined: Thu Jan 04, 2007 8:05 pm

Variable Watcher

Post by Ralph Forehand » Tue Sep 29, 2009 2:36 pm

Is there a way to activate Variable Watcher without being in Debug Mode?

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4171
Joined: Sun Jan 07, 2007 9:12 pm

Post by bn » Wed Sep 30, 2009 12:23 am

Ralph,
I dont know of any way to watch the variable watcher outside of debug mode. You could put into your script some code that saves the varibles to a field to see what is going on.

TRev, an alternative script editor for Rev ($50, very good http://reveditor.com/ ), gives you the ability to take snapshots of the state of your varibles at varying point in your code.

But if you just want to know the state of the variables for a specific problem I would go for the field approach.
If you want help for this just describe what exactly you want to do without going into debug mode (what is wrong with that anyways?)

regards
Bernd

Ralph Forehand
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 42
Joined: Thu Jan 04, 2007 8:05 pm

Variable Watcher

Post by Ralph Forehand » Wed Sep 30, 2009 3:07 am

Thank You for the suggestions and i'll check them out.

Actually I've converted an old HyperCard stack that had a Variable Watcher capability that I wanted to retain. I was able to watch a list of variable values as I am running an application. I need not watch all the variable values but it could be selected variables and/or globals.

I was thinking one approach might be using a substack but it would have to remain open as I ran the main application? But updating it and closing it??

I am hoping someone on this Forum may have experienced the same need and can help.

[/i]

Post Reply