mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed some Break When Value Changes issues
This commit is contained in:
parent
60403e6b51
commit
7b0aa874ce
1 changed files with 8 additions and 3 deletions
|
@ -9478,8 +9478,12 @@ String WinDebugger::EvaluateContinue(DbgPendingExpr* pendingExpr, BfPassInstance
|
||||||
if (!pendingExpr->mFormatInfo.mReferenceId.empty())
|
if (!pendingExpr->mFormatInfo.mReferenceId.empty())
|
||||||
val += "\n:referenceId\t" + pendingExpr->mFormatInfo.mReferenceId;
|
val += "\n:referenceId\t" + pendingExpr->mFormatInfo.mReferenceId;
|
||||||
|
|
||||||
if ((exprResult.mSrcAddress != 0) && (HasMemoryBreakpoint(exprResult.mSrcAddress, exprResult.mType->GetByteCount())))
|
auto breakAddress = exprResult.mSrcAddress;
|
||||||
val += StrFormat("\n:break\t%@", exprResult.mSrcAddress);
|
int breakSize = exprResult.mType->GetByteCount();
|
||||||
|
if (exprResult.mType->IsRef())
|
||||||
|
breakSize = exprResult.mType->mTypeParam->GetByteCount();
|
||||||
|
if ((breakAddress != 0) && (HasMemoryBreakpoint(breakAddress, breakSize)))
|
||||||
|
val += StrFormat("\n:break\t%@", breakAddress);
|
||||||
|
|
||||||
auto checkType = exprResult.mType->RemoveModifiers();
|
auto checkType = exprResult.mType->RemoveModifiers();
|
||||||
if (checkType->IsBfObjectPtr())
|
if (checkType->IsBfObjectPtr())
|
||||||
|
@ -10695,7 +10699,8 @@ String WinDebugger::CompactChildExpression(const StringImpl& expr, const StringI
|
||||||
DbgExprEvaluator dbgExprEvaluator(this, dbgModule, &bfPassInstance, callStackIdx, -1);
|
DbgExprEvaluator dbgExprEvaluator(this, dbgModule, &bfPassInstance, callStackIdx, -1);
|
||||||
|
|
||||||
DwFormatInfo formatInfo;
|
DwFormatInfo formatInfo;
|
||||||
formatInfo.mCallStackIdx = callStackIdx;
|
formatInfo.mCallStackIdx = callStackIdx;
|
||||||
|
formatInfo.mLanguage = language;
|
||||||
|
|
||||||
String formatFlags;
|
String formatFlags;
|
||||||
String assignExpr;
|
String assignExpr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue