From 454df24e08917a8b676aa02a9961f3c3cd78d3b0 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Wed, 12 Jan 2022 19:25:37 +0800 Subject: [PATCH] work save --- RedPandaIDE/debugger.cpp | 4 + .../settingsdialog/executorgeneralwidget.ui | 80 ++++++++++++------- 2 files changed, 57 insertions(+), 27 deletions(-) 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 + + + +