Debugger: Fixed minor potential multithreading issues (and removed unused variable)
This commit is contained in:
parent
773a34061f
commit
d4676e51fd
2 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue