Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Function attach_debugger

boost::debug::attach_debugger — Attaches debugger to the current process.

Synopsis

// In header: <boost/test/debug.hpp>


bool attach_debugger(bool break_or_continue = true);

Description

Using currently selected debugger, this routine attempts to attach the debugger to this process.

Parameters:

break_or_continue

tells what we wan to do after the debugger is attached. If true - process execution breaks in the point in invocation of this function. Otherwise execution continues, but now it is under the debugger

Returns:

true if debugger successfully attached. False otherwise


PrevUpHomeNext