mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Watch range check fix
This commit is contained in:
parent
e16a78a65b
commit
1fe4a27abf
1 changed files with 17 additions and 8 deletions
|
@ -2751,22 +2751,31 @@ namespace IDE.ui
|
||||||
memberItem.mMustUpdateBeforeEvaluate = true;
|
memberItem.mMustUpdateBeforeEvaluate = true;
|
||||||
}
|
}
|
||||||
else if (memberVals0 == ":addrs")
|
else if (memberVals0 == ":addrs")
|
||||||
|
{
|
||||||
|
if (memberCount > 0)
|
||||||
{
|
{
|
||||||
WatchListViewItem memberItem = (WatchListViewItem)listViewItem.GetChildAtIndex(memberCount - 1);
|
WatchListViewItem memberItem = (WatchListViewItem)listViewItem.GetChildAtIndex(memberCount - 1);
|
||||||
String.NewOrSet!(memberItem.mWatchSeriesInfo.mAddrs, memberVals[1]);
|
String.NewOrSet!(memberItem.mWatchSeriesInfo.mAddrs, memberVals[1]);
|
||||||
memberItem.mWatchSeriesInfo.mAddrsEntrySize = 1;
|
memberItem.mWatchSeriesInfo.mAddrsEntrySize = 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (memberVals0 == ":addrsEntrySize")
|
else if (memberVals0 == ":addrsEntrySize")
|
||||||
|
{
|
||||||
|
if (memberCount > 0)
|
||||||
{
|
{
|
||||||
int32 addrsEntrySize = int32.Parse(scope String(memberVals[1]));
|
int32 addrsEntrySize = int32.Parse(scope String(memberVals[1]));
|
||||||
WatchListViewItem memberItem = (WatchListViewItem)listViewItem.GetChildAtIndex(memberCount - 1);
|
WatchListViewItem memberItem = (WatchListViewItem)listViewItem.GetChildAtIndex(memberCount - 1);
|
||||||
memberItem.mWatchSeriesInfo.mAddrsEntrySize = addrsEntrySize;
|
memberItem.mWatchSeriesInfo.mAddrsEntrySize = addrsEntrySize;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (memberVals0 == ":continuation")
|
else if (memberVals0 == ":continuation")
|
||||||
|
{
|
||||||
|
if (memberCount > 0)
|
||||||
{
|
{
|
||||||
WatchListViewItem memberItem = (WatchListViewItem)listViewItem.GetChildAtIndex(memberCount - 1);
|
WatchListViewItem memberItem = (WatchListViewItem)listViewItem.GetChildAtIndex(memberCount - 1);
|
||||||
String.NewOrSet!(memberItem.mWatchSeriesInfo.mContinuationData, memberVals[1]);
|
String.NewOrSet!(memberItem.mWatchSeriesInfo.mContinuationData, memberVals[1]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (memberVals0 == ":action")
|
else if (memberVals0 == ":action")
|
||||||
{
|
{
|
||||||
watch.mAction = new String(memberVals[1]);
|
watch.mAction = new String(memberVals[1]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue