Discuss the future of the AutoHotkey language
Posts: 6039
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos


11 Aug 2018, 21:06

Thinking about additional debug functions, such as a function to retrieve details from the call stack, it occurred to me that OutputDebug (which is named after the OutputDebugString function it calls) could be renamed to be more convenient and to start a convention for future debug functions. My current ideas are combinations of Dbg or Debug and Output or Print.

I lean toward Debug rather than Dbg, for clarity, and because after testing it out, "dbg" doesn't seem to be any faster for me (due to use of one finger vs. multiple). There's also auto-complete and hotstrings.

I generally use my own D function which just prints to stdout, anyway.
User avatar
Posts: 585
Joined: 06 Oct 2015, 21:39

Re: OutputDebug

12 Aug 2018, 05:51

I like Debug for the same reasons as you’ve mentioned
Posts: 928
Joined: 11 Jan 2017, 17:59

Re: OutputDebug

12 Aug 2018, 08:17

autocomplete handles everything, so dont really care what the functions are called.

Return to “AutoHotkey v2 Development”

Who is online

Users browsing this forum: No registered users and 5 guests