| 18 | #endif |
| 19 | |
| 20 | DAS_API void os_debug_break() |
| 21 | { |
| 22 | #if defined(_MSC_VER) |
| 23 | // MSVC (incl. clang-cl) — single-instruction intrinsic, no extra frame. |
| 24 | __debugbreak(); |
| 25 | #elif defined(_WIN32) |
| 26 | // mingw — WinAPI works regardless of which Windows clang/gcc flavor. |
| 27 | DebugBreak(); |
| 28 | #else |
| 29 | raise(SIGTRAP); |
| 30 | #endif |
| 31 | } |
| 32 | |
| 33 | namespace das { |
| 34 | class Context; |
no outgoing calls
no test coverage detected