Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions Sindarin-Tests/SindarinDebuggerTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -385,15 +385,12 @@ SindarinDebuggerTest >> testIsAboutToInstantiateClass [

{ #category : #tests }
SindarinDebuggerTest >> testIsExecutionFinished [
"Test shows that the debugger is actually not correctly working and therefore it is disabled.
The fix requires the changes in #isExecutionFinished and on the Pharo side (PR#8567)
Once integrated there will be another PR here.
Projects are managed in different repos and therfore such complex integration"

| scdbg |
self skipOnPharoCITestingEnvironment.
scdbg := SindarinDebugger debug: [ self helperMethod16 ].
self deny: scdbg isExecutionFinished.

[ scdbg isExecutionFinished ] whileFalse: [ scdbg stepOver ].

self assert: scdbg currentProcess isTerminated
Expand Down
4 changes: 2 additions & 2 deletions Sindarin/SindarinDebugger.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ SindarinDebugger >> isAboutToSignalException [
SindarinDebugger >> isExecutionFinished [
"Returns whether the debugged execution is finished"

^ process isTerminating
^ process isTerminated
]

{ #category : #stackAccessHelpers }
Expand Down Expand Up @@ -382,7 +382,7 @@ SindarinDebugger >> openInGraphicalDebugger [
'Should be an extension of DebuggerSelector and handled by its sole instance'
]

{ #category : #'as yet unclassified' }
{ #category : #'accessing - context' }
SindarinDebugger >> outerMostContextOf: aContext [

| currentContext oldContext |
Expand Down