| 174 | |
| 175 | |
| 176 | void DebugProcessView::eventHandler(const DebuggerEvent &event) |
| 177 | { |
| 178 | switch (event.type) |
| 179 | { |
| 180 | case TargetStoppedEventType: |
| 181 | // We should not call MarkDirty() in case of a TargetExitedEvent, since the debugger binary view is about to be |
| 182 | // deleted. And it can cause a crash in certain cases. |
| 183 | MarkDirty(); |
| 184 | break; |
| 185 | case ForceMemoryCacheUpdateEvent: |
| 186 | ForceMemoryCacheUpdate(); |
| 187 | break; |
| 188 | default: |
| 189 | break; |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | |
| 194 | DebugNullView::DebugNullView(BinaryView* parent) : |
nothing calls this directly
no outgoing calls
no test coverage detected