Page 1 of 1

No trace of Trace

Posted: Fri Mar 27, 2015 6:47 am
by erikhans08
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.

Re: No trace of Trace

Posted: Fri Mar 27, 2015 2:33 pm
by Mikey
in the script editor, click in the left margin, over by the line numbers. You will get a zit. Happy debugging.

Re: No trace of Trace

Posted: Fri Mar 27, 2015 3:06 pm
by dunbarx
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

Re: No trace of Trace

Posted: Fri Mar 27, 2015 3:14 pm
by Mikey
Oh my GOD I feel old, now.

Re: No trace of Trace

Posted: Fri Mar 27, 2015 4:17 pm
by jacque
Yeah, they took it out some time ago. But for historical curiosity, you could set the speed of the trace by setting the traceDelay.

Re: No trace of Trace

Posted: Fri Mar 27, 2015 5:47 pm
by mwieder
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.

Re: No trace of Trace

Posted: Sat Mar 28, 2015 12:30 pm
by erikhans08
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

Re: No trace of Trace

Posted: Sat Mar 28, 2015 2:40 pm
by FourthWorld
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.