Skip to content

Commit 9fd179e

Browse files
authored
Merge pull request #18 from adri09070/changes-due-to-context-api-evolution
Fixing tests and features by using `InstructionStream` instead of `Context`
2 parents dea3b37 + 554500e commit 9fd179e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sindarin-Tests/SindarinDebuggerTest.class.st

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ SindarinDebuggerTest >> testStepToReturnWithHalt [
804804
dbg stepToMethodEntry.
805805
dbg stepToReturn.
806806

807-
self assert: dbg context willReturn.
807+
self assert: dbg context instructionStream willReturn.
808808
self assert: dbg node isReturn.
809809
self assert: dbg topStack equals: 1
810810
]

Sindarin/SindarinDebugger.class.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ SindarinDebugger >> stepThrough [
645645

646646
{ #category : #'stepping - steps' }
647647
SindarinDebugger >> stepToMethodEntry [
648-
self stepUntil: [ self context willSend ].
648+
self stepUntil: [ self context instructionStream willSend ].
649649
process step: self context.
650650
self debugSession updateContextTo: process suspendedContext
651651
]
@@ -654,7 +654,7 @@ SindarinDebugger >> stepToMethodEntry [
654654
SindarinDebugger >> stepToReturn [
655655

656656
[
657-
self context willReturn or: [ self hasSignalledUnhandledException ] ]
657+
self context instructionStream willReturn or: [ self hasSignalledUnhandledException ] ]
658658
whileFalse: [ self debugSession stepOver ]
659659
]
660660

0 commit comments

Comments
 (0)