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)
Show more info in "listvars" window
Re: Show more info in "listvars" window
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
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
Re: Show more info in "listvars" window
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.
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.