Windows CLI that writes messages to the debugger via OutputDebugString
WriteDebugString is a small Windows-only utility that writes one or more messages to the Windows debug output stream (as consumed by debuggers and tools such as DebugView), using STLSoft/WinSTL helpers.
Detailed instructions - via CMake - are provided in the accompanying INSTALL.md file.
The project creates a single executable program, WriteDebugString.
> writedebugstring.exe hello world
wrote 2 message(s) to debug stream
> writedebugstring.exe --sleep-after-writes "hold for listener"
wrote 1 message(s) to debug stream
Defect reports, feature requests, and pull requests are welcome on the WriteDebugString GitHub page.
WriteDebugString depends on:
Other sistools projects include:
- chomp;
- errni (errno on all platforms, and also GetLastError codes on Windows);
- lnunique;
- lslocales;
- lstrip;
- mksock (Unix-only);
- ReadDebugString (Windows-only);
- realpath (Windows-only);
- rstrip;
WriteDebugString is released under the 3-clause BSD license. See LICENSE for details.