Page 1 of 1

Try Script break can leave Step Mode set

Posted: 25 Jul 2015 20:36
by Papoulka
This is with XY of Jun30 (almost latest) but I saw it earlier, just didn't realize what was happening.

Sometimes, when pressing "Cancel Script" in a "Try Script" session, I later find "Step Mode" to be enabled. This doesn't always occur, and if I discover more initiating conditions I'll post them. But I suggest that any type of exit from a Try Script session should clear Step Mode.

Re: Try Script break can leave Step Mode set

Posted: 31 Aug 2015 18:48
by admin
Absolutely. Let me know when you find a way to reproduce it.

Re: Try Script break can leave Step Mode set

Posted: 10 Sep 2015 23:19
by Papoulka
I finally isolated a sequence that will repeat this, with a ::fresh instance of v15.70.0110. Follow these steps exactly:
  • Make a User-Defined command (Category "Run Script") for Try Script (#752;), with hotkey Alt+1.

    In Scripting | Try Script, enter this script:

    $b=1; $a=0/0;

    Use Alt+1 to "Try" this script. Press OK to start, then Ctl-Continue after the first step. When the script breaks on the Overflow error, press Cancel Script.

    Repeat this Alt+1...Cancel Script sequence once or twice.

    Check the Scripting menu - Step Mode will be enabled there.
You might think from this that my scripts don't always work perfectly the first time. Of course they do - I just happened on this by chance and thought I should report it :whistle: .

Re: Try Script break can leave Step Mode set

Posted: 11 Sep 2015 17:27
by admin
Tried hard but could not reproduce it. :?