Debugger: Fixed minor potential multithreading issues (and removed unused variable)

This commit is contained in:
Sour 2019-04-12 19:58:38 -04:00
parent 773a34061f
commit d4676e51fd
2 changed files with 1 additions and 1 deletions

View file

@ -1652,6 +1652,7 @@ void Debugger::GetDebugEvents(uint32_t* pictureBuffer, DebugEventInfo *infoArray
uint32_t Debugger::GetDebugEventCount(bool returnPreviousFrameData)
{
DebugBreakHelper helper(this);
return (uint32_t)(returnPreviousFrameData ? _prevDebugEvents.size() : _debugEvents.size());
}

View file

@ -142,7 +142,6 @@ private:
vector<DebugEventInfo> _prevDebugEvents;
vector<DebugEventInfo> _debugEvents;
vector<vector<int>> _debugEventMarkerRpn;
private:
bool ProcessBreakpoints(BreakpointType type, OperationInfo &operationInfo, bool allowBreak = true, bool allowMark = true);