Show more info in "listvars" window

Propose new features and changes
braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

Show more info in "listvars" window

22 Mar 2021, 07:22

It would be very helpful for debugging scripts if the listvars windows could show more information:

1. show all static variables of all functions in addition to the global variables
2. show system variables (A_...)
3. allow to view the key value pairs of an array (maybe by offering a context menu with that option for object variables)
TAC109
Posts: 1111
Joined: 02 Oct 2013, 19:41
Location: New Zealand

Re: Show more info in "listvars" window

22 Mar 2021, 15:25

While this suggestion is not strictly what you requested, you could give DebugVars a try in the meantime.
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Show more info in "listvars" window

23 Mar 2021, 04:07

I would not want to see 1 or 2.

Maybe 3, probably an abbreviated representation of the object as text, such as in JSON. A basic text box is not a practical UI for inspecting the structure or content of an object, especially when it must be kept short because the space is shared with many other variables.

DBGp can be used in a separate script to create a reproduction of ListVars, to which the features you requested could be added. Or one can create a script with a richer UI and greater capabilities (like DebugVars). If you create the script, you can control what information it displays and how.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 25 guests