layout: post title: How to debug MSVC in release mode date: 2025-03-05 00:00:00 description: tags: programming cpp debug categories: programming cpp —

Using DebugView

Step 1: Download DebugView: DebugView

Step 2: Open DebugView and set the filter, for example:

Step 3: Select the “Capture” Menu and try to enable all items except the last one for “Log Boot”

Change in the code

Using the OutputDebugString(). For example:


int testing_value = 5;

std::wostringstream ss;
ss << L"Joe: Testing Value" << testing_value << "." << std::endl;
OutputDebugString(ss.str().c_str());