| 1257 | |
| 1258 | |
| 1259 | void __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 | |
| 1270 | void __hxcpp_dbg_enableCurrentThreadDebugging(bool enable) |