1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed ability to view huge (>2GB) spans

This commit is contained in:
Brian Fiete 2021-12-16 07:49:39 -05:00
parent 2932fceae4
commit 224a17e669
2 changed files with 6 additions and 6 deletions

View file

@ -1295,7 +1295,7 @@ namespace IDE.ui
addrsCount = mWatchSeriesInfo.mAddrs.Length / entryAddrSize; addrsCount = mWatchSeriesInfo.mAddrs.Length / entryAddrSize;
int totalCount = mWatchSeriesInfo.mCount; int totalCount = mWatchSeriesInfo.mCount;
if (totalCount == -1) if ((totalCount == -1) && (mWatchSeriesInfo.mContinuationData != null))
{ {
//int wantNewCount = Math.Min(idx + 32, mWatchSeriesInfo.mCount) - addrsCount; //int wantNewCount = Math.Min(idx + 32, mWatchSeriesInfo.mCount) - addrsCount;
bool continuationDone = false; bool continuationDone = false;

View file

@ -8415,7 +8415,7 @@ void WinDebugger::HandleCustomExpandedItems(String& retVal, DbgCompileUnit* dbgC
evalStr += ", refid=\"" + referenceId + ".[]\""; evalStr += ", refid=\"" + referenceId + ".[]\"";
if (isReadOnly) if (isReadOnly)
evalStr += ", ne"; evalStr += ", ne";
retVal += "\n:repeat" + StrFormat("\t%d\t%d\t%d", 0, (int)sizeValue.GetInt64() / dimSize1, 50000) + retVal += "\n:repeat" + StrFormat("\t%d\t%lld\t%d", 0, sizeValue.GetInt64() / dimSize1, 50000) +
"\t[{0}]\t" + evalStr; "\t[{0}]\t" + evalStr;
} }
else if (lowerDimSizes.size() == 2) else if (lowerDimSizes.size() == 2)
@ -8431,7 +8431,7 @@ void WinDebugger::HandleCustomExpandedItems(String& retVal, DbgCompileUnit* dbgC
evalStr += ", refid=\"" + referenceId + ".[]\""; evalStr += ", refid=\"" + referenceId + ".[]\"";
if (isReadOnly) if (isReadOnly)
evalStr += ", ne"; evalStr += ", ne";
retVal += "\n:repeat" + StrFormat("\t%d\t%d\t%d", 0, (int)sizeValue.GetInt64() / dimSize1 / dimSize2, 50000) + retVal += "\n:repeat" + StrFormat("\t%d\t%lld\t%d", 0, sizeValue.GetInt64() / dimSize1 / dimSize2, 50000) +
"\t[{0}]\t" + evalStr; "\t[{0}]\t" + evalStr;
} }
} }
@ -8449,7 +8449,7 @@ void WinDebugger::HandleCustomExpandedItems(String& retVal, DbgCompileUnit* dbgC
evalStr += ", refid=\"" + referenceId + ".[]\""; evalStr += ", refid=\"" + referenceId + ".[]\"";
if (isReadOnly) if (isReadOnly)
evalStr += ", ne"; evalStr += ", ne";
retVal += "\n:repeat" + StrFormat("\t%d\t%d\t%d", 0, (int)sizeValue.GetInt64() / dimSize1 / dimSize2 / dimSize3, 50000) + retVal += "\n:repeat" + StrFormat("\t%d\t%lld\t%d", 0, sizeValue.GetInt64() / dimSize1 / dimSize2 / dimSize3, 50000) +
"\t[{0}]\t" + evalStr; "\t[{0}]\t" + evalStr;
} }
} }
@ -8459,7 +8459,7 @@ void WinDebugger::HandleCustomExpandedItems(String& retVal, DbgCompileUnit* dbgC
evalStr += ", refid=\"" + referenceId + ".[]\""; evalStr += ", refid=\"" + referenceId + ".[]\"";
if (isReadOnly) if (isReadOnly)
evalStr += ", ne"; evalStr += ", ne";
retVal += "\n:repeat" + StrFormat("\t%d\t%d\t%d", 0, (int)sizeValue.GetInt64(), 50000) + retVal += "\n:repeat" + StrFormat("\t%d\t%lld\t%d", 0, sizeValue.GetInt64(), 50000) +
"\t[{0}]\t" + evalStr; "\t[{0}]\t" + evalStr;
} }
} }
@ -8476,7 +8476,7 @@ void WinDebugger::HandleCustomExpandedItems(String& retVal, DbgCompileUnit* dbgC
evalStr += ", refid=\"" + referenceId + ".[]\""; evalStr += ", refid=\"" + referenceId + ".[]\"";
if (isReadOnly) if (isReadOnly)
evalStr += ", ne"; evalStr += ", ne";
retVal += "\n:repeat" + StrFormat("\t%d\t%d\t%d", 0, (int)sizeValue.GetInt64(), 50000) + retVal += "\n:repeat" + StrFormat("\t%d\t%lld\t%d", 0, sizeValue.GetInt64(), 50000) +
"\t[{0}]\t" + evalStr; "\t[{0}]\t" + evalStr;
} }
} }