void DebuggerCallstackView::OnFrameSelected(clCommandEvent& e) { e.Skip(); IDebugger* dbgr = DebuggerMgr::Get().GetActiveDebugger(); if(dbgr && dbgr->IsRunning() && ManagerST::Get()->DbgCanInteract()) { // set the frame dbgr->QueryFileLine(); } }
void WatchesTable::RefreshValues() { //ask the debugger to update the table //to trigger the update for the table we issue a simple //file line update request from the debugger if (ManagerST::Get()->DbgCanInteract()) { IDebugger *dbgr = DebuggerMgr::Get().GetActiveDebugger(); if (dbgr && dbgr->IsRunning()) { dbgr->QueryFileLine(); } } }