Page 1 of 1
Stepping not working?
Posted: 07 Feb 2021 19:51
by klownboy
I didn't want to post in the bugs area until confirmed, but stepping for me is not working. If I invoke it from the toolbar or use SC step within a script, nothing steps. Yet, it appears to work from the Scripting menu > Run script. Anyone else seeing any stepping issues?
Re: Stepping not working?
Posted: 07 Feb 2021 19:52
by highend
I'm on the current beta and stepping works fine for me in a script
Re: Stepping not working?
Posted: 07 Feb 2021 20:51
by klownboy
Okay, thanks highend. As far as I can see, StepScripts=0 in the ini is the only setting which could potentially affect it, and that gets cycled 0/1 by the toolbar. I think it may have something to do with the script I've been testing which sues CEAs. For other scripts stepping seems to work fine.
Re: Stepping not working?
Posted: 07 Feb 2021 21:17
by JohnM
For me, turning on step mode (via Scripting->Step Mode) is a little hit and miss. It works for one of my scripts (a very simple one which comprises a single switch statement) but not for another (more complex with functions, variables etc).
Also, adding the step command (step;) to the more complex script is ignored.
Re: Stepping not working?
Posted: 07 Feb 2021 21:53
by klownboy
Yes, thanks JohnM. I'll have to keep an eye on it. It's definitely not working consistently. SC step, anywhere I put it is being ignored completely in the script I'm currently working on. I've tested with syntax checking on and off with the same result. I spend quite a bit of time working on scripts and I haven't noticed this issue until a few days ago.
Re: Stepping not working?
Posted: 12 Feb 2021 19:09
by jupe
I can confirm that there is definitely an issue with stepping, I will move this to bug reports. It works in fresh but only intermittently in my normal profile (whichever way it has been enabled), I can't get reproducible steps yet, I do know that the issue was present in beta 21.50.0114 and still is in current .0120.
Re: Stepping not working?
Posted: 13 Feb 2021 04:57
by jupe
I have an update, it seems it just doesn't work when invoked via a CTB, but does work when run from AB/CEA/CFA/Run Script dialog etc.
Re: Stepping not working?
Posted: 13 Feb 2021 10:53
by admin
That's by design. It has been added 20201018 to avoid stepping when clicking "Edit..." from the right-click menu (which internally is implemented as a script).
Thinking about it that wasn't such a brilliant idea. I'll see what I can do...
Re: Stepping not working?
Posted: 13 Feb 2021 17:30
by klownboy
Thanks Don, it's good to have stepping back on a CTB run script.
