diff --git a/uppsrc/ide/Debug.cpp b/uppsrc/ide/Debug.cpp index ee5002d78..18615e203 100644 --- a/uppsrc/ide/Debug.cpp +++ b/uppsrc/ide/Debug.cpp @@ -389,11 +389,13 @@ void Ide::ConditionalBreak() Index cfg = PackageConfig(IdeWorkspace(), 0, GetMethodVars(method), mainconfigparam, *CreateHost(true), *CreateBuilder(~CreateHostRunDir())); +#ifdef COMPILER_MSC if(cfg.Find("MSC") >= 0) { if(EditPDBExpression("Conditional breakpoint", brk, NULL)) editor.SetBreakpoint(ln, brk); } else +#endif if(EditText(brk, "Conditional breakpoint", "Condition")) editor.SetBreakpoint(ln, brk); editor.RefreshFrame(); diff --git a/uppsrc/ide/Debuggers/Debuggers.h b/uppsrc/ide/Debuggers/Debuggers.h index 3e6a6181f..fbe7aa42f 100644 --- a/uppsrc/ide/Debuggers/Debuggers.h +++ b/uppsrc/ide/Debuggers/Debuggers.h @@ -212,6 +212,4 @@ struct Gdb : Debugger, ParentCtrl { #include "Pdb.h" #endif -bool EditPDBExpression(const char *title, String& brk, Pdb *pdb); - #endif diff --git a/uppsrc/ide/Debuggers/Pdb.cpp b/uppsrc/ide/Debuggers/Pdb.cpp index 651dbb80e..05415d9de 100644 --- a/uppsrc/ide/Debuggers/Pdb.cpp +++ b/uppsrc/ide/Debuggers/Pdb.cpp @@ -356,8 +356,6 @@ One PdbCreate(One rval_ host, const String& exefile, const Strin return dbg; } -#endif - #define LAYOUTFILE #include @@ -403,3 +401,5 @@ bool EditPDBExpression(const char *title, String& brk, Pdb *pdb) brk = ~dlg.text; return true; } + +#endif diff --git a/uppsrc/ide/Debuggers/Pdb.h b/uppsrc/ide/Debuggers/Pdb.h index ef1aa7f67..7d5902393 100644 --- a/uppsrc/ide/Debuggers/Pdb.h +++ b/uppsrc/ide/Debuggers/Pdb.h @@ -420,3 +420,5 @@ struct Pdb : Debugger, ParentCtrl { void LoadGlobals(DWORD64 base); }; + +bool EditPDBExpression(const char *title, String& brk, Pdb *pdb);