Hi Martin.
I would like to suggest a feature.
Running a script step by step with a debug dialog between each step to see how the variables change.
It's difficult to debug long and complex scripts, the only way would be to separate the statements in different script actions and interpose a debug dialog between them.
It would be nice to have a keyword like 'debug' that when put in a script would stop the flow with a debug dialog and continue right after that statement.
Is this doable? thanks
Run script Step by Step
Moderator: Martin
Re: Run script Step by Step
+1 for this. The debug will act kinda like breakpoint, to pause the whole script and show the variable value.
I typically split the script and attach debug dialog in the middle. And rejoin after it has finish. Or if it is error, Just attach debug dialog and change the connector to "Exception".
It will be easier to add just "debug" and it will prompt the variable immediately.
I typically split the script and attach debug dialog in the middle. And rejoin after it has finish. Or if it is error, Just attach debug dialog and change the connector to "Exception".
It will be easier to add just "debug" and it will prompt the variable immediately.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.