Change:
bool IsVisibleInEditor()const {return false;}
to
bool IsVisibleInEditor()const {return true;}
You should return false only if the breakpoint is temporary.
Also I don't think you need this code in AddBreakpoint:Codefor (BPList::iterator itr=m_bplist.begin(); itr!=m_bplist.end(); ++itr)
{
if((*itr)->GetLocation()==file && (*itr)->GetLine()==line)
return cb::shared_ptr<cbBreakpoint>();
}
Also I don't think you need this code in AddBreakpoint:Codefor (BPList::iterator itr=m_bplist.begin(); itr!=m_bplist.end(); ++itr)
{
if((*itr)->GetLocation()==file && (*itr)->GetLine()==line)
return cb::shared_ptr<cbBreakpoint>();
}
paranoia (wasn't sure if it was possible to ask to add a breakpoint already added). I will remove. Thanks for looking!If it happens, then it is a bug upstream...