ide: gdb fixed

git-svn-id: svn://ultimatepp.org/upp/trunk@11491 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-11-21 19:43:41 +00:00
parent 8d4adb5971
commit fe39aeffa1
2 changed files with 2 additions and 1 deletions

View file

@ -74,6 +74,7 @@ void MarkChanged(const VectorMap<String, String>& m, ArrayCtrl& data)
void Gdb::Lock()
{
IdeHidePtr();
IdeDebugLock();
watches.Disable();
locals.Disable();

View file

@ -268,11 +268,11 @@ void Ide::IdeHidePtr()
bool Ide::IdeDebugLock()
{
if(debuglock == 0) {
debuglock = 1;
editor.DisableBreakpointing();
MakeTitle();
SetBar();
Sync();
debuglock = 1;
return true;
}
debuglock++;