(uncomon) debugging of AutoHotkey Script by using SqL-Stacktrace

Helpful script writing tricks and HowTo's
User avatar
SL5
Posts: 845
Joined: 12 May 2015, 02:10
GitHub: sl5net
Contact:

(uncomon) debugging of AutoHotkey Script by using SqL-Stacktrace

28 Jan 2019, 12:17

build a own little stackTrace.

used regex to find functions in ahk-source: ^[ ]*?\w[\w\d_]{5,}\s*\([^()+<>]+\)[\s\S]{0,5}?\{
User avatar
SL5
Posts: 845
Joined: 12 May 2015, 02:10
GitHub: sl5net
Contact:

Re: (uncomon) debugging of AutoHotkey Script by using SqL-Stacktrace

28 Jan 2019, 14:53



find most used function:

SELECT DISTINCT A_ThisFunc, count(A_ThisFunc) count FROM performance GROUP BY A_ThisFunc ORDER by count DESC

find slowest function:

SELECT DISTINCT A_ThisFunc, count(A_ThisFunc) count, millisec_dif_to_next_function_call FROM performance GROUP BY A_ThisFunc
ORDER by millisec_dif_to_next_function_call DESC

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 5 guests