| 191 | |
| 192 | |
| 193 | DebugStopReason DebuggerController::AttachAndWait() |
| 194 | { |
| 195 | if (!m_targetControlMutex.try_lock()) |
| 196 | return InternalError; |
| 197 | |
| 198 | auto reason = AttachAndWaitInternal(); |
| 199 | if (!m_userRequestedBreak && (reason != ProcessExited) && (reason != InternalError)) |
| 200 | NotifyStopped(reason); |
| 201 | |
| 202 | m_targetControlMutex.unlock(); |
| 203 | return reason; |
| 204 | } |
| 205 | |
| 206 | |
| 207 | bool DebuggerController::Connect() |
no outgoing calls
no test coverage detected