mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-09-24 08:44:19 +08:00
Update release
This commit is contained in:
@@ -2571,7 +2571,7 @@ InstructionLocation
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
WfDebugger
|
||||
WfDebugger Callback Handlers
|
||||
***********************************************************************/
|
||||
|
||||
void WfDebugger::OnBlockExecution()
|
||||
@@ -2617,7 +2617,7 @@ WfDebugger
|
||||
if (breakPoint.action)
|
||||
{
|
||||
activated = breakPoint.action->EvaluateCondition(this);
|
||||
breakPoint.action->PostAction(this);
|
||||
breakPoint.action->PostAction(this, activated);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2792,7 +2792,7 @@ WfDebugger
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
WfDebugger
|
||||
WfDebugger BreakPoints
|
||||
***********************************************************************/
|
||||
|
||||
#define TEST(AVAILABLE, KEY, MAP) if (AVAILABLE && available == MAP.Keys().Contains(KEY)) return false;
|
||||
@@ -2937,6 +2937,7 @@ WfDebugger
|
||||
breakPoints[index].id = index;
|
||||
breakPoints[index].available = true;
|
||||
breakPoints[index].enabled = true;
|
||||
breakPoints[index].action = nullptr;
|
||||
return index;
|
||||
}
|
||||
|
||||
@@ -2954,6 +2955,11 @@ WfDebugger
|
||||
return AddBreakPoint(WfBreakPoint::Ins(assembly, ins));
|
||||
}
|
||||
|
||||
bool WfDebugger::IsBreakPointAvailable(vint index)
|
||||
{
|
||||
return 0 <= index && index < breakPoints.Count() && !freeBreakPointIndices.Contains(index);
|
||||
}
|
||||
|
||||
vint WfDebugger::GetBreakPointCount()
|
||||
{
|
||||
return breakPoints.Count();
|
||||
@@ -3006,6 +3012,10 @@ WfDebugger
|
||||
breakException = value;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
WfDebugger Operations
|
||||
***********************************************************************/
|
||||
|
||||
bool WfDebugger::Run()
|
||||
{
|
||||
if (state != PauseByOperation && state != PauseByBreakPoint)
|
||||
@@ -3070,6 +3080,10 @@ WfDebugger
|
||||
return true;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
WfDebugger
|
||||
***********************************************************************/
|
||||
|
||||
WfDebugger::State WfDebugger::GetState()
|
||||
{
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user