Use of system debugger

Features wanted...
Post Reply
highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Use of system debugger

Post by highend »

It would be nice if you could another (undocumented) debug command...

Code: Select all

debug "string"
It can make debugging scripts a lot easier / faster (by using e.g. Sysinternals DebugView)...

You only need a Windows API call to

Code: Select all

OutputDebugString
to implement it...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Use of system debugger

Post by admin »

Ok, I call it "sysdebug".

PS: already wished here <link removed, topic was deleted> :)

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Use of system debugger

Post by highend »

Yeah, I know. Searched for "debug" in my postings but it didn't turn up...
Deleted the old topic now and removed your link...

Thanks for adding it!
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Use of system debugger

Post by admin »

The notes here are still true in Win8.1:
https://msdn.microsoft.com/de-de/librar ... s.85).aspx

i.e., no support for Unicode characters in the string.

Apart from that it works really nicely together with:
https://docs.microsoft.com/de-de/sysint ... /debugview

:tup:

highend
Posts: 14955
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Use of system debugger

Post by highend »

Apart from that it works really nicely together
I know, it's a very useful tool, used it for debugging .ahk scripts a lot :mrgreen:
One of my scripts helped you out? Please donate via Paypal

Post Reply