change variable with step

Features wanted...
PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: change variable with step

Post by PeterH »

*wishing mode*

OK: in the end I think this confirmes that there is enough need for the original wish, also been wished by me long long ago:

Please allow us to change the value of variables in window "Variables in Stack",
(and maybe in window "Permanent Variables", too).

And another, rather related wish:
Please allow in Stepping Mode to select the next instruction to be executed.
(There could be checks for entering or leaving {...} constructs - or the user can be responsible :P )

I'm sure that both would make life better for "Scripters in Debugging Mode" :ugeek:

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: change variable with step

Post by TheQwerty »

Filehero wrote:Thanks, so I supposed right. I think, I would define a perm var switch for that.
The problem with a PV is you either name it specifically for each script or it becomes a global setting and now you're debugging all of your scripts instead of the one that has your focus.

Again, nothing I've said in this thread are things I actually recommend doing.
Please!

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: change variable with step

Post by bdeshi »

PeterH wrote:*wishing mode*
I'll throw my wish into the bag then
!

        PeterH wrote: "Please allow in Stepping Mode to select the next instruction to be executed.
        (There could be checks for entering or leaving {...} constructs - or the user can be responsible :P )"

I further wish step mode had a Continue after Loop button, for jumping to the stmt after a while/foreach, then resume stepping -- Not an infinite or otherwise broken loop, just one that takes a "while" to step through (after having inspected the first few loops to make sure it's working correctly).
PeterH wrote:Please allow us to change the value of variables in window "Variables in Stack",
(and maybe in window "Permanent Variables", too).
That second line is a perfectly legitimate wish! :tup: :tup:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: change variable with step

Post by PeterH »

Sammay, for your 1st wish:
- place a Step; behind the loop
- then select Continue without Stepping while inside loop
does what you want?

To the setting of variables:
you can set a perm var by entering "::perm $name newvalue;" - so this seams not so difficult.
But, for me, the main thing would be the ability to change *any* var while stepping.
(Maybe Don somewhen said "later" to this? I'm not sure :whistle: )

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: change variable with step

Post by bdeshi »

PeterH wrote:you can set a perm var by entering "::perm $name newvalue;" - so this seams not so difficult.
I know, but XY exists to make work easier. 8) And an editable permanent variables list is very logical. (I think if Don allows this, then the original wish her will also come true...)
Sammay, for your 1st wish:
- place a Step; behind the loop
- then select Continue without Stepping while inside loop
does what you want?
Again, make things easier. 8)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Filehero
Posts: 2713
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: change variable with step

Post by Filehero »

TheQwerty wrote:Again, nothing I've said in this thread are things I actually recommend doing.
Please!
No worries, I got your "message" right in the first place. :wink:
TheQwerty wrote:..and now you're debugging all of your scripts instead of the one that has your focus.!
This usually fits my workflow, but I do see the point.

fogg
Posts: 32
Joined: 15 Jul 2014 16:13
Location: Going around the World

Re: change variable with step

Post by fogg »

Thanks you all for suggestions. But it is annoying and i Still wish this works!
PeterH wrote: I'm sure that both would make life better for "Scripters in Debugging Mode" :ugeek:
Its my opinion also. :D
s404:signature not found.

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

Re: change variable with step

Post by admin »

SammaySarkar wrote:... an editable permanent variables list is very logical...
Coming...

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: change variable with step

Post by Papoulka »

Bumping some other Try Script / debugger wishes, since that's being revised:
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=14579
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=14277

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: change variable with step

Post by PeterH »

Papoulka wrote:Bumping some other Try Script / debugger wishes, since that's being revised:
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=14579
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=14277
Whereever there are such wishes, PeterH isn't far :maf:

And, just seen: "BTW, it's not possible to edit variable values from the variable list in the Step Dialog. You better totally forget about that." :o :cry: :cry:

Post Reply