Subject: Re: [boost] [test] still broken in release
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2013-08-10 21:52:04
Bjorn Reese <breese <at>
> On 08/10/2013 07:11 PM, Gennadiy
> Assuming that my foo() function fails,
how difficult is it going to be
> to single-step into it (without setting
breakpoints inside foo) from
> a BOOST_TEST(foo()) line? This is a very
common scenario for me.
New boost.test has support for this
through two macros:
If you define this test module will
compile in debugger friendly mode.
If you define this macro test module will
perform assertions as usual if you run the
test regularly and it will run in debugger
friendly mode of you run under debugger
(this only available on platforms where we
can detect presence of debugger). The
price you pay its extra compile time.