[Boost-bugs] [Boost C++ Libraries] #11278: --detect_memory_leaks useless without --catch_system_errors=n

Subject: [Boost-bugs] [Boost C++ Libraries] #11278: --detect_memory_leaks useless without --catch_system_errors=n
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-10 22:17:41


#11278: --detect_memory_leaks useless without --catch_system_errors=n
------------------------------+---------------------
 Reporter: willi@… | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.58.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 When using the unit test framework's runtime option
 `--detect_memory_leaks=N` (described in
 http://www.boost.org/doc/libs/1_58_0/libs/test/doc/html/utf/user-guide
 /runtime-config/reference.html) the resulting breakpoint is caught by the
 framework unless `--catch_system_errors` is set to `n`. This causes the
 debug break to not happen until halfway through the reporting of this
 fatal "breakpoint encountered" error, rendering the call stack useless.

 This should at least be mentioned in the documentation; maybe
 `detect_memory_leaks` should imply `catch_system_errors=n`.

 I'm on Windows 7x64 in a 32 bit debug build using MSVC14RC and the
 multithreaded static boost.test library.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11278>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC