no fix yet -- debugging when current dir contains a binary file of an added project...
authorRejean Loyer <redj@ecere.com>
Mon, 2 Jun 2014 03:02:42 +0000 (23:02 -0400)
committerRejean Loyer <redj@ecere.com>
Mon, 16 Mar 2015 05:31:47 +0000 (01:31 -0400)
ide/src/debugger/Debugger.ec

index 6efff9f..c6ecd51 100644 (file)
@@ -1879,7 +1879,7 @@ class Debugger
 
    bool SetBreakpoint(Breakpoint bp, bool removePath)
    {
-      char * s = null; _dpcl(_dpct, dplchan::debuggerBreakpoints, 0, "Debugger::SetBreakpoint(", s=bp.CopyLocationString(false), ", ", removePath ? "**** removePath(true) ****" : "", ") -- ", bp.type); delete s;
+      char * s = null; _dpcl(_dpct, dplchan::debuggerBreakpoints, 0, "Debugger::SetBreakpoint(", s=bp.CopyLocationString(false), ", ", removePath ? "**** removePath(true) ****" : "", ") -- ", bp.type, " -- ", !bp.project ? "" : bp.project.name, ":", !bp.project ? "" : projectsLibraryLoaded[bp.project.name] ? "ok" : "not_loaded"); delete s;
       breakpointError = false;
       if(symbols && bp.enabled && (!bp.project || bp.project.GetTargetType(bp.project.config) == staticLibrary || bp.project == ide.project || projectsLibraryLoaded[bp.project.name]))
       {
@@ -4162,6 +4162,8 @@ class Debugger
                      match = !fstrcmp(prjTargetPath, path);
                   }
                }
+               //projectsLibraryLoaded[prj.name] = true; // debugging when current dir contains an added project library -- low priority issue
+                                                         // breakpoints inside lib won't work
                if(match)
                   projectsLibraryLoaded[prj.name] = true;
                else