We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a951337 commit 687e130Copy full SHA for 687e130
src/ScriptEngine/Machine/MachineInstance.cs
@@ -1118,17 +1118,18 @@ private void Return(int arg)
1118
else
1119
{
1120
PopFrame();
1121
- if(DebugStepInProgress())
+ if(IsSteppingOutFromHere())
1122
EmitStopEventIfNecessary();
1123
}
1124
1125
1126
- private bool DebugStepInProgress()
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
1127
+ private bool IsSteppingOutFromHere()
1128
1129
if (_stopManager == null)
1130
return false;
1131
- return _stopManager.CurrentState == DebugState.SteppingOut || _stopManager.CurrentState == DebugState.SteppingOver;
1132
+ return _stopManager.CurrentState == DebugState.SteppingOut;
1133
1134
1135
private void JmpCounter(int arg)
0 commit comments