<div dir="ltr">Should the following work?<div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">m_break_bp_sp = m_process->GetTarget().CreateBreakpoint(break_addr, true);<br>

assert (m_break_bp_sp->FindLocationIDByAddress(break_addr) != LLDB_INVALID_BREAK_ID);</blockquote></div><div><br></div><div>The problem I'm running into is that CreateBreakpoint() is resolving the address:</div><div>

<br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> 319+>    m_section_load_list.ResolveLoadAddress(addr, so_addr);<br>

 320|     if (!so_addr.IsValid())<br> 321|     {<br> 322|         // The address didn't resolve, so just set this as an absolute address<br> 323|         so_addr.SetOffset (addr);<br> 324|     }</blockquote></div><div>

<br></div><div>But FindLocationIDByAddress() isn't, so the address comparisons are failing in the FindLocationIDByAddress() routine.</div><div> -Mike</div></div>