Brian Fiete 2 mesiacov pred
rodič
commit
abd547a405
1 zmenil súbory, kde vykonal 6 pridanie a 1 odobranie
  1. 6 1
      IDEHelper/Profiler.cpp

+ 6 - 1
IDEHelper/Profiler.cpp

@@ -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];