mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Made '_' refer to value of memory breakpoint instead of addr
This commit is contained in:
parent
fe92cc27aa
commit
d13d3ed3f8
3 changed files with 30 additions and 3 deletions
|
@ -197,7 +197,7 @@ namespace IDE.ui
|
|||
exprPre.Append("@C:");
|
||||
else
|
||||
exprPre.Append("@Beef:");
|
||||
exprPost.AppendF(",_=({0}*)0x", addrVal);
|
||||
exprPost.AppendF(",_=*({0}*)0x", addrVal);
|
||||
mBreakpoint.mMemoryAddress.ToString(exprPost, "X", null);
|
||||
exprPost.Append("L");
|
||||
}
|
||||
|
|
|
@ -2705,6 +2705,21 @@ namespace IDE.ui
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
let configItem = menu.AddItem("Configure Breakpoint");
|
||||
configItem.mOnMenuItemSelected.Add(new (evt) =>
|
||||
{
|
||||
for (int breakIdx < gApp.mDebugger.mBreakpointList.Count)
|
||||
{
|
||||
let breakpoint = gApp.mDebugger.mBreakpointList[breakIdx];
|
||||
if (breakpoint.mMemoryAddress == watchEntry.mMemoryBreakpointAddr)
|
||||
{
|
||||
ConditionDialog dialog = new ConditionDialog();
|
||||
dialog.Init(breakpoint);
|
||||
dialog.PopupWindow(listView.mWidgetWindow);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (watchEntry.mResultType == .Pointer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue