Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-12-11 01:32:50


"Neil Groves" <neil_at_[hidden]> wrote in message
news:000001c83a7b$7a2ac1b0$6e804510$@com...
> Hi Thorsten,
>
> I normally place soft breakpoint in the code that announces the test
> failure
> and walk the call stack.
>
> Alternatively you can use the IsDebuggerPresent() call combined with
> DebugBreak as a Windows only modification to the assertions. This only
> causes a debug break if a developer has attached a local debugger. The
> automated unit test execution is unaffected.
>
> See:
> http://msdn2.microsoft.com/en-us/library/ms680345.aspx for
> IsDebuggerPresent()

This is what bost.Test doing already.

Gennadiy


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk