mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Added object access check to delegate invocation
This commit is contained in:
parent
5a0aa8a95b
commit
65ee34e37b
8 changed files with 89 additions and 10 deletions
4
IDE/dist/BeefDbgVis.toml
vendored
4
IDE/dist/BeefDbgVis.toml
vendored
|
@ -23,11 +23,11 @@ ValuePointer = "/*(mMethodId < 0) ? &this :*/ __cast(\"_BF_DeferredData_\", mMet
|
|||
Name = "System.Event<*>"
|
||||
DisplayString = "{{ data={__cast(\"System.Object\", mData & sDataMask)} }}"
|
||||
[[Type.Expand.Item]]
|
||||
Name = "[target]"
|
||||
Name = "[Target]"
|
||||
Value = "__cast(\"System.Object\", mData)"
|
||||
Condition = "(mData & sIsEnumerating) == 0"
|
||||
[[Type.Expand.Item]]
|
||||
Name = "[target]"
|
||||
Name = "[Target]"
|
||||
Value = "((System.Event<$T1>.Enumerator*)(mData & sDataMask)).mTarget"
|
||||
Condition = "(mData & sIsEnumerating) != 0"
|
||||
[[Type.Expand.Item]]
|
||||
|
|
|
@ -90,6 +90,11 @@ namespace IDE.ui
|
|||
SetScaleData();
|
||||
}
|
||||
|
||||
public ~this()
|
||||
{
|
||||
IDEApp.sApp.mDebugger.mBreakpointsChangedDelegate.Remove(scope => BreakpointsChanged, true);
|
||||
}
|
||||
|
||||
void SetScaleData()
|
||||
{
|
||||
mListView.mIconX = GS!(4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue