| 653 | |
| 654 | |
| 655 | DebugStopReason DebuggerController::RunToAndWaitInternal(const std::vector<uint64_t>& remoteAddresses) |
| 656 | { |
| 657 | m_userRequestedBreak = false; |
| 658 | |
| 659 | for (uint64_t remoteAddress : remoteAddresses) |
| 660 | { |
| 661 | if (!m_state->GetBreakpoints()->ContainsAbsolute(remoteAddress)) |
| 662 | { |
| 663 | m_adapter->AddBreakpoint(remoteAddress); |
| 664 | } |
| 665 | } |
| 666 | |
| 667 | auto reason = GoAndWaitInternal(); |
| 668 | |
| 669 | for (uint64_t remoteAddress : remoteAddresses) |
| 670 | { |
| 671 | if (!m_state->GetBreakpoints()->ContainsAbsolute(remoteAddress)) |
| 672 | { |
| 673 | m_adapter->RemoveBreakpoint(remoteAddress); |
| 674 | } |
| 675 | } |
| 676 | |
| 677 | NotifyStopped(reason); |
| 678 | return reason; |
| 679 | } |
| 680 | |
| 681 | |
| 682 | bool DebuggerController::RunTo(const std::vector<uint64_t>& remoteAddresses) |
nothing calls this directly
no test coverage detected