| 1038 | |
| 1039 | |
| 1040 | void DebuggerUI::navigateToCurrentIP() |
| 1041 | { |
| 1042 | uint64_t address = m_controller->IP(); |
| 1043 | uint64_t lastIp = m_controller->GetLastIP(); |
| 1044 | if (address == lastIp) |
| 1045 | return; |
| 1046 | |
| 1047 | BinaryViewRef liveView = m_controller->GetLiveView(); |
| 1048 | if (!liveView) |
| 1049 | return; |
| 1050 | |
| 1051 | auto functions = liveView->GetAnalysisFunctionsContainingAddress(address); |
| 1052 | if (functions.empty()) |
| 1053 | liveView->CreateUserFunction(m_controller->GetLiveView()->GetDefaultPlatform(), address); |
| 1054 | |
| 1055 | navigateDebugger(address); |
| 1056 | } |
| 1057 | |
| 1058 | |
| 1059 | void DebuggerUI::checkFocusDebuggerConsole() |
nothing calls this directly
no test coverage detected