Gdb: First live breakpoint can be set throw editor bar clicking. #1885

git-svn-id: svn://ultimatepp.org/upp/trunk@12065 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2018-07-10 19:09:57 +00:00
parent 8b71a4f01b
commit ec8b6752df

View file

@ -271,12 +271,6 @@ bool Ide::IdeDebugLock()
{
if(debuglock == 0) {
debuglock = 1;
#ifdef PLATFORM_POSIX
if(debugger)
#else
if(debugger && !dynamic_cast<Pdb *>(~debugger))
#endif
editor.DisableBreakpointing();
MakeTitle();
SetBar();
Sync();
@ -292,7 +286,6 @@ bool Ide::IdeDebugUnLock()
ASSERT(debuglock >= 0);
if(debuglock == 0) {
MakeTitle();
editor.EnableBreakpointing();
SetBar();
return true;
}