Welcome to windbgmon’s documentation!

Monitor Windows OutputDebugString messages.

Quick Start:

import windbgmon

with windbgmon.DbgMon() as dbgmon:
    for pid, msg in dbgmon:
        print(f"[{pid}] {msg}")

Can also be run as a module: python -m windbgmon.

API

Monitor Windows OutputDebugString messages.

class windbgmon.DbgMon(global_=False)

Monitor Windows OutputDebugString messages.

Set global_ to True to monitor messages in the global scope (Session 0).

Yields (pid: int, msg: str) on iteration. Should be closed when finished.

close()

Close the DbgMon.

stop()

Stop monitoring.

Can be called from a different thread to stop a monitoring thread.

Indices and tables