| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected