- fix: correctly display watch & local variable names when debugging
This commit is contained in:
parent
4259480471
commit
78c3387d7f
5
NEWS.md
5
NEWS.md
|
@ -2,8 +2,9 @@ Version 0.8.2 For Dev-C++ 7 Beta
|
|||
- fix: highlighter can't correctly find the end of ANSI C-style Comments
|
||||
- enhancement: add default color scheme to themes. Change theme option will change color scheme too.
|
||||
- fix: when changing options in the option dialog's color scheme panle, color of the demo editor won't be not correctly updated
|
||||
- enhancement: add option to auto clear parsed symbols when the editor is hidden ( to reduce total memory usage / turned off by default)
|
||||
- fix: correct set the position of chinese input methods
|
||||
- enhancement: auto clear parsed symbols when the editor is hidden ( to reduce memory usage of un-active editors)
|
||||
- fix: when inputing in the editor, correctly set the position of the input method panel
|
||||
- fix: correctly display watch & local variable names when debugging
|
||||
|
||||
Version 0.8.1 For Dev-C++ 7 Beta
|
||||
- fix: ConsolePaurser.exe only exits when press ENTER
|
||||
|
|
|
@ -1450,9 +1450,9 @@ void DebugReader::runNextCmd()
|
|||
emit cmdStarted();
|
||||
|
||||
QByteArray s;
|
||||
s=pCmd->command.toLocal8Bit();
|
||||
s=pCmd->command.toUtf8();
|
||||
if (!pCmd->params.isEmpty()) {
|
||||
s+=' '+pCmd->params.toLocal8Bit();
|
||||
s+=' '+pCmd->params.toUtf8();
|
||||
}
|
||||
s+= "\n";
|
||||
if (mProcess->write(s)<0) {
|
||||
|
@ -1681,7 +1681,7 @@ void DebugReader::run()
|
|||
readed = mProcess->readAll();
|
||||
buffer += readed;
|
||||
if (getLastAnnotation(buffer) == AnnotationType::TPrompt) {
|
||||
mOutput = QString::fromLocal8Bit(buffer);
|
||||
mOutput = QString::fromUtf8(buffer);
|
||||
processDebugOutput();
|
||||
buffer.clear();
|
||||
mCmdRunning = false;
|
||||
|
|
|
@ -1279,6 +1279,7 @@ void MainWindow::debug()
|
|||
if (!mDebugger->start())
|
||||
return;
|
||||
filePath.replace('\\','/');
|
||||
mDebugger->sendCommand("set","host charset UTF-8");
|
||||
mDebugger->sendCommand("file", '"' + filePath + '"');
|
||||
|
||||
if (mProject->options().type == ProjectType::DynamicLib) {
|
||||
|
|
|
@ -3262,7 +3262,21 @@ void Settings::CodeCompletion::doLoad()
|
|||
mIgnoreCase = boolValue("ignore_case",true);
|
||||
mAppendFunc = boolValue("append_func",true);
|
||||
mShowCodeIns = boolValue("show_code_ins",true);
|
||||
mClearWhenEditorHidden = boolValue("clear_when_editor_hidden",false);
|
||||
|
||||
bool doClear = true;
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
MEMORYSTATUSEX statex;
|
||||
|
||||
statex.dwLength = sizeof (statex);
|
||||
|
||||
GlobalMemoryStatusEx (&statex);
|
||||
if (statex.ullAvailPhys > (long long int)3*1024*1024*1024) {
|
||||
doClear = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
mClearWhenEditorHidden = boolValue("clear_when_editor_hidden",doClear);
|
||||
}
|
||||
|
||||
Settings::CodeFormatter::CodeFormatter(Settings *settings):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QStringList>
|
||||
|
||||
#define DEVCPP_VERSION "beta.0.8.1"
|
||||
#define DEVCPP_VERSION "beta.0.8.2"
|
||||
|
||||
#define APP_SETTSINGS_FILENAME "redpandacpp.ini"
|
||||
#ifdef Q_OS_WIN
|
||||
|
|
Loading…
Reference in New Issue