diff --git a/IDEHelper/Profiler.cpp b/IDEHelper/Profiler.cpp index a5c3a8f6..82513bab 100644 --- a/IDEHelper/Profiler.cpp +++ b/IDEHelper/Profiler.cpp @@ -525,7 +525,12 @@ void DbgProfiler::AddEntries(String& str, Array& procEntries, continue; // 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];