MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / os_debug_break

Function os_debug_break

src/hal/debug_break.cpp:20–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18#endif
19
20DAS_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
33namespace das {
34 class Context;

Callers 11

impl_allocateStringMethod · 0.85
rethrowMethod · 0.85
preVisitMethod · 0.85
inscribeInsanePointerFunction · 0.85
allocateMethod · 0.85
freeMethod · 0.85
gc_check_breakFunction · 0.85
channelVerifyFunction · 0.85
breakPointMethod · 0.85
freeFunction · 0.85
incrementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected