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]))
{
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