diff --git a/src/widgets/DebugActions.cpp b/src/widgets/DebugActions.cpp index 68d0362c..8745cb86 100644 --- a/src/widgets/DebugActions.cpp +++ b/src/widgets/DebugActions.cpp @@ -297,6 +297,10 @@ void DebugActions::attachRemoteDebugger() void DebugActions::onAttachedRemoteDebugger(bool successfully) { + // TODO(#2829): Investigate why this is happening + if (remoteDialog == nullptr) + return; + if (!successfully) { QMessageBox msgBox; msgBox.setText(tr("Error connecting."));