No trace of Trace

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
erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

No trace of Trace

Post by erikhans08 » Fri Mar 27, 2015 6:47 am

I can't find a Trace button.

This has something to do with the distinction between the Script Editor and the Code Editor which I do not understand.

I have the last Revolution 4.5 before LiveCode.

My stacks open in LiveCode and LiveCode is saving my stacks as a LiveCode file so this borderline situation may be to blame.

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: No trace of Trace

Post by Mikey » Fri Mar 27, 2015 2:33 pm

in the script editor, click in the left margin, over by the line numbers. You will get a zit. Happy debugging.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: No trace of Trace

Post by dunbarx » Fri Mar 27, 2015 3:06 pm

I think the OP is asking about "trace" functionality, whereby the debugger can execute code line by line automatically, with a delay between steps set by a property known as the "traceDelay". This is an old HC gadget. But I am not sure it is still supported in recent versions of LC. I never liked or used this feature myself; it was either too fast or too slow, and I could never see what was happening anyway unless I stepped through by hand.

Craig Newman

Mikey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 755
Joined: Fri Jun 27, 2008 9:00 pm

Re: No trace of Trace

Post by Mikey » Fri Mar 27, 2015 3:14 pm

Oh my GOD I feel old, now.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: No trace of Trace

Post by jacque » Fri Mar 27, 2015 4:17 pm

Yeah, they took it out some time ago. But for historical curiosity, you could set the speed of the trace by setting the traceDelay.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: No trace of Trace

Post by mwieder » Fri Mar 27, 2015 5:47 pm

Yeah, I kept the trace feature for PowerDebug and gave a bit more control over it, but I have to admit I don't use it myself.

erikhans08
Posts: 87
Joined: Wed Mar 25, 2015 2:01 am

Re: No trace of Trace

Post by erikhans08 » Sat Mar 28, 2015 12:30 pm

Thanks for all of the prompt responses.
"Trace" is mentioned in the LiveCode User Guide Copyright ©2010 RunRev Ltd. All rights reserved worldwide.
"Put the tracedelay" in msg shows 500. So it is just a "retained surgical instrument."

I used to like to watch the code scroll by next to the changing user interface.
People in the lab were impressed.

Erik

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: No trace of Trace

Post by FourthWorld » Sat Mar 28, 2015 2:40 pm

erikhans08 wrote:Thanks for all of the prompt responses.
"Trace" is mentioned in the LiveCode User Guide Copyright ©2010 RunRev Ltd. All rights reserved worldwide.
Thanks for noting that, Erik. I've filed a bug report so the community documentation team can handle that along with the other documentation updates they'll be making.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply