I have a AHK script which I need to debug. I basically want to see which line number is being currently executed in the script (which piece of code).
Is there a way to do that? Or anything close to that for debugging? I am using this AHK script to automate some windows explorer related task. But sometimes it gets stuck in between and I have no idea where the script gets stuck. If I knew the current line number being executed, it would be great. Using Msgbox after each line is not possible and very inefficient.
Could someone please help me with this?
Also, I am new to AHK scripting so I would be grateful if you could explain with a short example if possible.
Thanks Sunny
A_LineNumberandA_LineFilecontain the currently executing line number and the file name to which it belongs. <| \ autohotkey.com/docs/v2/lib/ListLines.htm#Remarks