debugging - lldb unresolved breakpoint via c++ api -
i have got executable module icoretest.exe , wich dynamicly loaded library irtest.rs . want debug via lldb c++ api. when create "icoretest.exe" process under lldb throug lldb::sbtarget::launch(..); works fine. fine, mean can set breakpoints breakpointcreatebylocation , when debugger stops on event sblistener.waitforevent(); problems begins when want attach running process. create target , attach process m_debugdata->currenttarget=m_debugdata>debugger.createtarget(executable.c_str()); m_debugdata->currentprocess = m_debugdata>currenttarget.attachtoprocesswithname(m_debugdata->listener, processname.c_str(), false, error); load module "irtest.rs" auto module = m_debugdata->currenttarget.addmodule("irtest.rs", "i386-pc-windows-msvc", nullptr); after lldb stops on "ntdll.dll`dbgbreakpoint + 1" i execute command m_debugdata->currentprocess.continue(); so, icoretest.exe running.. add breakpoi