Boost logo

Boost :

Subject: Re: [boost] [BOOST_ASSERT] any one against improving debug support?
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-06-18 09:32:15

Thorsten Ottosen:
> Hi,
> The current difinition of BOOST_ASSERT is a pain to use with the debugger
> and Boost.Test because it doesn't trigger a break-point.
> Does anyone object to defining it like this in <boost/assert.hpp>
> #if (BOOST_MSVC >= 1400)
> #include <crtdbg.h>
> #endif

I'm not sure I understand. BOOST_ASSERT is just assert by default, right?
assert does trigger a breakpoint by default, right? Boost.Test intentionally
disables the assert breakpoint by default so that it can fail the test case
and not require human intervention, right? What am I missing?

Boost list run by bdawes at, gregod at, cpdaniel at, john at