Stepping not working?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Stepping not working?

Post 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?

highend
Posts: 14994
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Stepping not working?

Post by highend »

I'm on the current beta and stepping works fine for me in a script
One of my scripts helped you out? Please donate via Paypal

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Stepping not working?

Post 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.

JohnM
Posts: 289
Joined: 08 Jun 2006 11:59
Location: Windows 11 Pro @100%

Re: Stepping not working?

Post 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.
Windows 11 Pro x64
XYplorer 28.30.0000 x64

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Stepping not working?

Post 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.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Stepping not working?

Post 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.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Stepping not working?

Post 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.

admin
Site Admin
Posts: 66652
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Stepping not working?

Post 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...

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Stepping not working?

Post by klownboy »

Thanks Don, it's good to have stepping back on a CTB run script. :tup:

Post Reply