DebugVars

Post your working scripts, libraries and tools for AHK v1.1 and older
lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: DebugVars

04 Mar 2017, 20:15

kczx3 wrote:When applying [the Explorer theme] to a TreeListView, a selected row's color changes back to the boring blue when a column header is being resized. Any thoughts as to avoiding that (aside from not using the Explorer theme)?
No idea.
User avatar
kczx3
Posts: 1640
Joined: 06 Oct 2015, 21:39

Re: DebugVars

04 Mar 2017, 20:19

Alright thanks. Wanted to at least pose the question.
User avatar
kczx3
Posts: 1640
Joined: 06 Oct 2015, 21:39

Re: DebugVars

06 Mar 2017, 11:02

Removing HDS_FULLDRAG appears to help some. Though the row highlight is a bit darker on the column that was resized afterwards until you mouse over that row to repaint it. I tried applying an afterHeaderResize function and forcing a repaint of the rows in several ways but couldn't get it to update the appearance unfortunately.
User avatar
Masonjar13
Posts: 1555
Joined: 20 Jul 2014, 10:16
Location: Не Россия
Contact:

Re: DebugVars

02 Aug 2017, 16:02

This was mentioned in a different thread and I tried it out. Interestingly, it grabs all instances, including compiled and scripts running on separate threads. Though, compiled and threaded scripts result in no variables. Would it be possible to add support for threaded scripts? Specifically, threads made with AutoHotkey_H.dll from a compiled script (or also regular running script, haven't tried that, though).
OS: Windows 10 Pro | Editor: Notepad++
My Personal Function Library | Old Build - New Build
User avatar
evilC
Posts: 4823
Joined: 27 Feb 2014, 12:30

Re: DebugVars

02 Aug 2017, 18:01

Which debugvars build are you using mason? AHK_H handles globals differently I think, so maybe you just weren't seeing them because of that.
I know lex merged in HotkeyIt's patch to allow support for AHK_H in the Scite build with debugvars, might this be problem?

Let me know if you get any joy, would really love to be able to debug my UCR threads
User avatar
Masonjar13
Posts: 1555
Joined: 20 Jul 2014, 10:16
Location: Не Россия
Contact:

Re: DebugVars

02 Aug 2017, 20:51

I was using the builds from here and here. Didn't know there was a modified version anywhere else. I tested by placing DebugVars.ahk in the STE4AHK library folder DebugVars, and replaced the dbgp.ahk in my stdlib with the one from STE4AHK. Didn't see any difference. I don't have time to play around much right now, but I'll let you know if I find anything interesting/get it working.
OS: Windows 10 Pro | Editor: Notepad++
My Personal Function Library | Old Build - New Build
sancarn
Posts: 224
Joined: 01 Mar 2016, 14:52

Re: DebugVars

05 Aug 2017, 05:18

Lol... This led me to finding out that https://www.andyroid.net is actually built in AHK... xD Really cool script though Lexicos!
User avatar
kczx3
Posts: 1640
Joined: 06 Oct 2015, 21:39

Re: DebugVars

15 Aug 2017, 08:48

Is there a way to display the character code instead of the actual Unicode character if the value of a variable is set to some character code, such as Chr(9673)?
TreeListView_chr_test.png
TreeListView_chr_test.png (4.33 KiB) Viewed 3509 times
User avatar
Masonjar13
Posts: 1555
Joined: 20 Jul 2014, 10:16
Location: Не Россия
Contact:

Re: DebugVars

15 Aug 2017, 17:35

Sure, you'd just need to encapsulate it in Ord(). Though, you'd also have to build a list for it to check against (or a range) so it wouldn't try to convert multi-character lines and "regular" characters (which is whatever you personally define as regular). Could have it just convert anything past ASCII. Well, you'd have to convert it first, then check and have it decide which to use. Not sure where in the project that column is handled, though.
OS: Windows 10 Pro | Editor: Notepad++
My Personal Function Library | Old Build - New Build
DRocks
Posts: 565
Joined: 08 May 2018, 10:20

Re: DebugVars

13 Feb 2019, 09:07

Wow this is sick ty
User avatar
haichen
Posts: 631
Joined: 09 Feb 2014, 08:24

Re: DebugVars

15 Feb 2019, 05:16

Ok, its over one year old, but i think Transform, OutputVar, HTML, String , 2 is another possible solution.
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: DebugVars

28 Mar 2022, 16:21

I've had this treelist in my head for a long time now, finally have a need for it. But am encountering an issue:
The tree expands, but there is no visible expand boxes. I can click there and it works, but nothing to show the users that they can.
applying gui, color, red, blue didn't change anything (to see if they were white-on-white or whatever)

ahk 1.1.33.06, 32bit
win10 64 home, latest
admin

Image
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: DebugVars

28 Mar 2022, 17:13

iirc the plus/minus signs are images, so if u dont have them(or the script cant access them for whatever reason, eg wrong file path), then they wont show up
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: DebugVars

28 Mar 2022, 17:34

ah, so they are. empty/minus/plus.png. thanks.
edit:
swapped them with icon images:
Image

Code: Select all

		IL_Add(IL, "C:\Windows\System32\shell32.dll" , 294)
		IL_Add(IL, "C:\Windows\System32\shell32.dll" , 138)
		IL_Add(IL, "C:\Windows\System32\shell32.dll" , 247)
rawr. fear me.
*poke*
Is it December 21, 2012 yet?

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 249 guests