talira

WhiteBox

Live feedback for C and C++: see how your code runs as you write it

commercial software

WhiteBox compiles, runs and debugs the C or C++ function you're working on in the background and shows its behaviour side by side with your editor, so you see values without setting breakpoints. You can change a function's arguments and compare results, see the state of the data wherever your cursor is, trace each value's history of changes, and use it as a timeline debugger with stepping, call stacks and watches back in time. It connects to existing editors through plugins (4coder, Vim and others) and runs on Windows and Linux. It's by Andrew Reece and sold as a paid beta.

Problems it solves

  • see live values for each line of my C code as I write it
  • debug C++ without setting breakpoints
  • quick feedback on a C function's behaviour while editing

Features

  • functions compiled and run live in the background
  • live values at the cursor without breakpoints
  • compare results across different arguments
  • history of each value's changes
  • timeline debugging with call stack and retrospective watches
  • editor plugins

Limitations

  • Beta software; no macOS version.12

Alternatives

The same job

These do what WhiteBox does.

  1. RAD Debugger Native graphical debugger for x64 on Windows and Linux, with a fast linker
  2. CodeLLDB A VS Code debugger for native code, powered by LLDB
  3. LLDB The LLVM project's high-performance debugger
  4. Seer Modern graphical front end to gdb for Linux
  5. debug (Ruby) Ruby's standard debugger, with remote debugging and VS Code and Chrome DevTools frontends
  6. Debugger for Java Microsoft's Java debugger for VS Code

Compare WhiteBox with the top 3