diff --git a/RedPandaIDE/debugger.cpp b/RedPandaIDE/debugger.cpp
index 43ffad94..c111cceb 100644
--- a/RedPandaIDE/debugger.cpp
+++ b/RedPandaIDE/debugger.cpp
@@ -2370,7 +2370,11 @@ void DebugTarget::run()
}
if (mInputFile.isEmpty()) {
args->startupInfo -> dwFlags &= ~STARTF_USESTDHANDLES;
+ } else {
+ args->startupInfo->hStdOutput = NULL;
+ args->startupInfo->hStdError = NULL;
}
+
});
#endif
diff --git a/RedPandaIDE/settingsdialog/executorgeneralwidget.ui b/RedPandaIDE/settingsdialog/executorgeneralwidget.ui
index f8798a0f..bf2c535b 100644
--- a/RedPandaIDE/settingsdialog/executorgeneralwidget.ui
+++ b/RedPandaIDE/settingsdialog/executorgeneralwidget.ui
@@ -62,19 +62,6 @@
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
-
@@ -84,8 +71,44 @@
true
-
-
-
+
-
+
+
+
+ 75
+ true
+
+
+
+ Debugger doesn't support this feature in Linux.
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Note:
+
+
+
+ -
+
+
+
+ 75
+ true
+
+
+
+ Debugger only support this feature in gdb server mode in windows.
+
+
-
@@ -101,22 +124,25 @@
- -
-
-
-
- 75
- true
-
-
-
- Note: Debugger doesn't support this feature.
-
-
+
-
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 40
+
+
+
+