Skip to content

Commit 98180c4

Browse files
committed
Падение отладчика в watch
1 parent 1c59761 commit 98180c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ScriptEngine/Machine/MachineInstance.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,13 @@ public IValue Evaluate(string expression, bool separate = false)
236236
frame.ModuleScope = mlocals;
237237
frame.ModuleLoadIndex = runner._scopes.Count - 1;
238238
}
239-
finally
239+
catch
240240
{
241241
if (separate)
242242
{
243243
SetCurrentMachineInstance(currentMachine);
244244
}
245+
throw;
245246
}
246247

247248
try

0 commit comments

Comments
 (0)