MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / PossiblyEnterDebugger

Function PossiblyEnterDebugger

jni/stasm/err.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38//-----------------------------------------------------------------------------
39
40static void PossiblyEnterDebugger(void)
41{
42#if _DEBUG
43 // requires you to be in a debugger or have set up a just-in-time debugger
44 printf("\n%s\nDEBUG is true so forcing entry to the debugger\n", err_g);
45 fflush(stdout);
46 static volatile int* p = 0;
47 *p = 99;
48#endif // _DEBUG
49}
50
51// This gets called during OpenCV error handling e.g. if a CV_Assert fails.
52// Save the error info in our global string err_g.

Callers 2

CvErrorCallbackForStasmFunction · 0.85
ErrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected