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

Method ContinueThreads

src/hx/Debugger.cpp:513–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511 }
512
513 static void ContinueThreads(int specialThreadNumber, int continueCount)
514 {
515 gStepType = STEP_NONE;
516
517 gShouldCallHandleBreakpoints = !gBreakpoints->IsEmpty() || (sExecutionTrace==exeTraceLines);
518
519 gMutex.lock();
520
521 // All threads get continued, but specialThreadNumber only for count
522 std::list<DebuggerContext *>::iterator iter = gList.begin();
523 while (iter != gList.end()) {
524 DebuggerContext *stack = *iter++;
525 if (stack->mThreadNumber == specialThreadNumber) {
526 stack->Continue(continueCount);
527 }
528 else {
529 stack->Continue(1);
530 }
531 }
532
533 gMutex.unlock();
534 }
535
536 static void StepThread(int threadNumber, StepType stepType, int stepCount)
537 {

Callers

nothing calls this directly

Calls 2

IsEmptyMethod · 0.80
ContinueMethod · 0.80

Tested by

no test coverage detected