| 991 | } |
| 992 | |
| 993 | void Context::breakPoint(const LineInfo & at, const char * reason, const char * text) { |
| 994 | if ( debugger ) { |
| 995 | bool any = false; |
| 996 | for_each_debug_agent([&](const DebugAgentPtr & pAgent){ |
| 997 | pAgent->onBreakpoint(this, at, reason, text); |
| 998 | any = true; |
| 999 | }); |
| 1000 | if ( any ) return; |
| 1001 | } |
| 1002 | os_debug_break(); |
| 1003 | } |
| 1004 | |
| 1005 | static DAS_THREAD_LOCAL(bool) g_inLogger; |
| 1006 |
no test coverage detected