Page 1 of 1

Debugging

Posted: 23 Jan 2025 20:42
by Raf
how do I debug scripts? how do I set stop points? Manually writing step in different lines is inconvenient. is there a debugger like Jetbrains/DevTools?

Re: Debugging

Posted: 23 Jan 2025 21:19
by highend
A ? in front of a command does the same (only for that command!).

Apart from that: sysdebug and https://docs.microsoft.com/en-us/sysint ... /debugview

Re: Debugging

Posted: 24 Feb 2025 12:47
by altoclef
highend wrote: 23 Jan 2025 21:19 Apart from that: sysdebug and https://docs.microsoft.com/en-us/sysint ... /debugview
To help anyone else who comes to this thread and, like me, doesn't immediately notice highend's correct and helpful formatting, sysdebug is an XY script command, for which details can be found on the Undocumented script commands thread.

Re: Debugging

Posted: 25 Feb 2025 10:55
by Raf
altoclef wrote: 24 Feb 2025 12:47
highend wrote: 23 Jan 2025 21:19 Apart from that: sysdebug and https://docs.microsoft.com/en-us/sysint ... /debugview
To help anyone else who comes to this thread and, like me, doesn't immediately notice highend's correct and helpful formatting, sysdebug is an XY script command, for which details can be found on the Undocumented script commands thread.
Thanks! It remains to find the same way to debug Autohotkey without using the DBGp plugin for notepad++