Opened 6 years ago

Closed 6 years ago

#12192 closed Bugs (worksforme)

boost log exception handler not invoked in release mode

Reported by: adityaj@… Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

Boost version - 1.57.0.0 Platform - Windows Compiler - VS 2013 Update 5

When registering an exception handler for the boost log library we observe that on an exception the handler is called in the debug version of our application and not called in the release version of the application.

The handler is modeled based on the documentation here: http://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.exception_handlers

Change History (2)

comment:1 by Andrey Semashev, 6 years ago

Please, provide a self-contained code sample that reproduces the problem.

comment:2 by Andrey Semashev, 6 years ago

Resolution: worksforme
Status: newclosed

The example libs/log/example/doc/exception_handling.cpp works as expected for me.

Note: See TracTickets for help on using tickets.