projects /
DebugView++
A fast, filterable log viewer for Windows — the OutputDebugString viewer I always wanted.
- C++
- Windows
- BSL-1.0
Summary
DebugView++ collects, views and filters application logs and highlights the messages that matter. It started as a viewer for Win32 OutputDebugString output, in the spirit of Sysinternals DebugView, and grew into a general log viewer that can also tail files and read from ADB logcat, serial ports, sockets and UDP.

Why it exists
OutputDebugString is the oldest and simplest way to make a Windows program observable, but the classic viewers struggle once a system gets chatty. DebugView++ stays fast and responsive at tens of thousands of lines per second, and its filters let you cut straight to the lines you are looking for.
Key features
- Single self-contained executable; an installer is provided but not required
- Fast, responsive UI, even with more than 50,000 incoming lines per second
- Captures both Win32 and Global Win32 messages, and kernel messages
- Tails ASCII and UTF files — just drag a file into the window
- Include, exclude, highlight, token, track, stop and beep filters, using plain text, wildcards or regular expressions
- Linked views, process colours and tabbed views
- A command line version,
DebugViewConsole, for servers and scripts
Views
Everything DebugView++ receives goes into one log buffer. Each tab is a view on that buffer, with its own filters. A filter never deletes anything: it only decides what that view shows, so you can experiment with filters freely and change your mind later.
The screenshots on this page show a small simulated machine: a scheduler, a motion controller, a camera service and a UI, all logging with OutputDebugString. The All view above shows everything. The Problems view below has a single include filter, error|warning|failed|alarm, and shows only the five lines that need attention:

With Options, Link Views turned on, selecting a line in the filtered view and switching back to All selects the same line there, so you see the error in its full context. That is the workflow DebugView++ was built for: watch a quiet view, and jump into the noisy one when something happens.
Filters and colouring
The filter dialog (View, Filters… or F5) holds the filters of one view. These are the filters of the All view:

- Highlight colours the whole line: errors red, warnings and failures yellow.
- Token colours only the matching text.
id=(\d+)uses RegexGroups: only the captured group is coloured, and with an automatic background (A) every different job id gets its own colour, so you can follow one job through the log. The other two token filters colour hexadecimal numbers and file paths. - Stop turns auto-scroll off when a matching line arrives and selects it. Here it stops on the axis following error, which is why that line is selected in the first screenshot.
- Include and exclude decide which lines a view shows, once shows only the first match, track keeps matching lines in sight, beep plays a sound and clear empties the view.
Filters match plain text, wildcards or regular expressions. Since v1.31 the regular expressions are PCRE2, so lookbehind such as (?<=id=)\d+ works too. Filters can be saved to a file and loaded into another view.
Process colours and process filters
View, Process Colors gives every process its own background colour, without writing a single filter. Even two instances of the same program get different colours, because the colour follows the process, not the name:

The second tab of the filter dialog filters on the process name instead of the message. The Motion + Camera view includes only three processes, and also excludes the camera’s frame * captured lines with a wildcard filter:

The result is a view with only the motion and scheduling story, still in process colours:

Command line
Debugviewpp.exe accepts:
| Option | What it does |
|---|---|
<file> |
Open a log file: a DebugView++ .dblog, a Sysinternals DbgView log or any text file. |
<file>.dbconf |
Load a saved configuration: the views with their filters and columns, and the sources. |
/tab:<name> |
Select the view with this name at startup. |
/min |
Start minimized. |
/delay:<milliseconds> |
Slow down every process that calls OutputDebugString by this amount, to make timing problems reproducible. |
DebugView++ also reads standard input. Debugviewpp < log.txt loads a file, and a pipe captures the output of any console program:
adb logcat | debugviewpp
plink -ssh -batch 192.168.0.1 2>&1 | debugviewpp
If DebugView++ is already running, the piped output is forwarded to the running instance instead of opening a new window.
DebugViewConsole.exe is the command line twin: it captures OutputDebugString without a window, for build servers, services and scripts.
DebugviewConsole [-acflsqtpnv] [-d <file>] [-i <pattern>]... [-e <pattern>]... [-m <message>]
[--include-process <pattern>]... [--exclude-process <pattern>]...
DebugviewConsole -x
DebugviewConsole -u
| Option | What it does |
|---|---|
-i, --include <pattern> |
Include filter, may be given more than once. |
-e, --exclude <pattern> |
Exclude filter, may be given more than once. |
--include-process <pattern> |
Include filter on the process name. |
--exclude-process <pattern> |
Exclude filter on the process name. |
-a |
Auto-newline: treat every message as a complete line (most people want this). |
-c |
Write the messages to the console. |
-d <file> |
Write the messages to a .dblog file, which DebugView++ can open. |
-m, --quit-message <message> |
Exit when this message is received. |
-v |
Verbose. |
-l -s -q -t -p -n |
Console output only: prefix the line number, the system time, a high-precision (<1 µs) time offset, use tab-separated columns, add the PID, add the process name. |
-f |
Flush the buffers aggressively; if unsure, do not use it. |
-x |
Stop all running DebugViewConsole instances. |
-u |
Send a UDP test message, used for debugging DebugView++ itself. |
For example, to log everything from one program to a file and to the console, with the process name and time:
DebugviewConsole -a -c -s -n --include-process myapp.exe -d myapp.dblog
Moving to C++23 without Boost, with Claude Code
DebugView++ is more than ten years old, and its code showed it. When we started, Boost was what you used for everything the standard library did not have yet: string algorithms, optional, signals, sockets, configuration files, regular expressions and the unit test framework. Over the years the standard caught up. The build had been set to C++23 for a while, but the code still did things the 2013 way, and every build downloaded Boost just for that.
In October 2026 I used Claude Code to finish the job. There were 39 Boost includes left in the application, in nine Boost libraries. I did not want one big “remove Boost” commit that nobody could review, so we did it one library at a time, with a test first and a small commit for every step:
- Boost.Algorithm became a small
StringUtil.hwith case-insensitive compare, search and trimming, with tests. - Boost.Optional and lexical_cast became
std::optionalandstd::from_chars. - Boost.Signals2 became
fusion::Signal, a small thread-safe signal/slot class. - Boost.Asio became
Win32::TcpStream,TcpListenerandSendBroadcast, thin wrappers around Winsock; the DbgView agent reader andDebugViewConsole -uuse them. - Boost.PropertyTree stored the
.dbconfconfiguration and the filter files as XML. These are now JSON, with nlohmann/json, and a pugixml-based reader converts old XML files when they are loaded, so nobody loses their saved filters. Before changing anything, we saved files written by the Boost-based version as test data, so the tests prove the new code still reads them. - Boost.Test became GoogleTest, which CMake fetches when it configures.
That was 33 commits, about 4,400 lines added and 1,250 removed, outside the vendored libraries. It shipped as v1.30. The work also turned up an old performance bug: the window froze while a large burst of output arrived (2 million lines took 30 seconds), and now it responds immediately.
After that, Boost.Regex was not coming back, but std::regex was the weakest part of the filters: no lookbehind, and slow. So the filters now use PCRE2. Lookbehind works, which closed a long-standing issue, and filtering is about three times faster (150,000 lines in 60 ms instead of 200 ms). A pattern that backtracks forever no longer freezes the window either.
What made this work was not that Claude Code writes C++. It was the discipline it made cheap: a test before every change, one concern per commit, and a commit message that explains why. Those are the things I always meant to do on a hobby project and rarely had the evenings for.
Technology
C++23 with ATL and WTL, built with CMake and Visual Studio. Tests use GoogleTest; filters use PCRE2; configuration is JSON (nlohmann/json, pugixml for legacy files). Boost Software License 1.0. Co-developed under the CobaltFusion organisation on GitHub.