Skip to content

Commit

Permalink
Code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Apr 11, 2023
1 parent 155bdec commit 7752317
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/debuggercontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,8 @@ void DebuggerController::HandleInitialBreakpoint()
// inform us the values.
liveView->SetDefaultArchitecture(m_data->GetDefaultArchitecture());
liveView->SetDefaultPlatform(m_data->GetDefaultPlatform());

SetLiveView(liveView);

NotifyStopped(DebugStopReason::InitialBreakpoint);
}

Expand Down Expand Up @@ -742,9 +742,7 @@ void DebuggerController::Connect()

m_inputFileLoaded = false;
m_state->MarkDirty();

m_state->SetConnectionStatus(DebugAdapterConnectingStatus);

NotifyEvent(ConnectEventType);

bool ok = m_adapter->Connect(m_state->GetRemoteHost(), m_state->GetRemotePort());
Expand Down

0 comments on commit 7752317

Please sign in to comment.