|
@@ -525,7 +525,12 @@ void DbgProfiler::AddEntries(String& str, Array<ProfileProcEntry*>& procEntries,
|
|
continue;
|
|
continue;
|
|
|
|
|
|
// The range should only contain candidates
|
|
// The range should only contain candidates
|
|
- BF_ASSERT(procEntry->mSize > stackIdx);
|
|
|
|
|
|
+ //BF_ASSERT(procEntry->mSize > stackIdx);
|
|
|
|
+
|
|
|
|
+ if (stackIdx >= procEntry->mSize)
|
|
|
|
+ {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
|
|
auto curProc = procEntry->mData[procEntry->mSize - 1 - stackIdx];
|
|
auto curProc = procEntry->mData[procEntry->mSize - 1 - stackIdx];
|
|
|
|
|