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

Method BreakNow

src/hx/Debugger.cpp:496–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494 }
495
496 static void BreakNow(bool wait)
497 {
498 gStepType = STEP_INTO;
499 gStepCount = 0;
500 gStepThread = -1;
501 // Won't bother with a write memory barrier here, it's harmless to set
502 // gShouldCallHandleBreakpoints before the step type and step thread
503 // are updated xxx should consider making gStepType and gStepThread
504 // atomic though by putting them into one uint32_t value ...
505 gShouldCallHandleBreakpoints = true;
506
507 // Wait for all threads to be stopped
508 if (wait) {
509 DebuggerContext::WaitForAllThreadsToStop();
510 }
511 }
512
513 static void ContinueThreads(int specialThreadNumber, int continueCount)
514 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected