Expand IStackResolver into ICaptureAccess to allow section read/write

This commit is contained in:
baldurk
2017-11-16 14:35:48 +00:00
parent a238d3022a
commit bb6452c334
7 changed files with 398 additions and 26 deletions
+2 -2
View File
@@ -101,10 +101,10 @@ void APIInspector::on_apiEvents_itemSelectionChanged()
if(!ev.callstack.isEmpty())
{
if(m_Ctx.Replay().GetResolver())
if(m_Ctx.Replay().GetCaptureAccess())
{
m_Ctx.Replay().AsyncInvoke([this, ev](IReplayController *) {
rdcarray<rdcstr> stack = m_Ctx.Replay().GetResolver()->GetResolve(ev.callstack);
rdcarray<rdcstr> stack = m_Ctx.Replay().GetCaptureAccess()->GetResolve(ev.callstack);
GUIInvoke::call([this, stack]() { addCallstack(stack); });
});