MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / __hxcpp_dbg_setEventNotificationHandler

Function __hxcpp_dbg_setEventNotificationHandler

src/hx/Debugger.cpp:1259–1267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1257
1258
1259void __hxcpp_dbg_setEventNotificationHandler(Dynamic handler)
1260 {
1261 if (hx::g_eventNotificationHandler != null()) {
1262 GCRemoveRoot(&(hx::g_eventNotificationHandler.mPtr));
1263 }
1264 hx::g_debugThreadNumber = hx::thread::Thread_obj::id();
1265 hx::g_eventNotificationHandler = handler;
1266 GCAddRoot(&(hx::g_eventNotificationHandler.mPtr));
1267 }
1268
1269
1270void __hxcpp_dbg_enableCurrentThreadDebugging(bool enable)

Callers

nothing calls this directly

Calls 2

idFunction · 0.85
nullClass · 0.50

Tested by

no test coverage detected