Skip to content

Commit ef6a016

Browse files
committed
Merge branch 'main' into 1.19
2 parents 9461f3b + 08ca561 commit ef6a016

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Common/src/main/kotlin/gay/object/hexdebug/debugger/HexDebugger.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@ class HexDebugger(
410410
var hitBreakpoint = false
411411

412412
while (true) {
413-
val result = executeNextDebugStep(vm, exactlyOnce = true).let { lastResult?.plus(it) ?: it }
413+
var result = executeNextDebugStep(vm, exactlyOnce = true)
414+
if (lastResult != null) result += lastResult
414415
lastResult = result
415416

416417
if (result.reason.stopImmediately) return result

0 commit comments

Comments
 (0)