Page 2 of 2

Re: incorrect selectedChunk data

Posted: Sun Dec 11, 2016 10:02 pm
by monki
jacque wrote:
But the selectedChunk thing has something to do with setting the breakpoints. If I set breakpoints and look at the variables selectedChunk and selectedLine, odd numbers are returned.
Right. That's because when you break into the script editor, the selected field is the script. You are no longer measuring the field you think you are. If you set a breakpoint after the measurement you should see what you expect.
That's what I suspected, after the fact. I didn't think the debugging tool worked that way. Something to keep in mind for the future.

Re: incorrect selectedChunk data

Posted: Sun Dec 11, 2016 10:21 pm
by dunbarx
I didn't think the debugging tool worked that way.
Just a stack, right?

Craig