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
13 changes: 0 additions & 13 deletions Sindarin-Tests/SindarinDebuggerTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -716,19 +716,6 @@ SindarinDebuggerTest >> testSteppingAnExecutionSignalingExceptions [
raise: UnhandledExceptionSignalledByADebuggedExecution
]

{ #category : #tests }
SindarinDebuggerTest >> testTemporaries [
| scdbg |
scdbg := SindarinDebugger debug: [ self helperMethod10 ].
self assert: scdbg temporaries size equals: 1.
scdbg step.
self assert: scdbg temporaries size equals: 1.
self assert: (scdbg temporaries at: #a) equals: nil.
scdbg step.
self assert: scdbg temporaries size equals: 1.
self assert: (scdbg temporaries at: #a) equals: 5
]

{ #category : #tests }
SindarinDebuggerTest >> testTemporaryNamed [
| dbg |
Expand Down
9 changes: 0 additions & 9 deletions Sindarin/Context.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,3 @@ Extension { #name : #Context }
Context >> currentNode [
^ self method sourceNodeForPC: self pc
]

{ #category : #'*Sindarin' }
Context >> temporaries [
"Returns the temporary variables of this context."
| dictionary |
dictionary := Dictionary new.
self tempNames do: [ :name | dictionary at: name put: (self tempNamed: name) ].
^ dictionary.
]
7 changes: 0 additions & 7 deletions Sindarin/SindarinDebugger.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -621,13 +621,6 @@ SindarinDebugger >> stepUntil: aBlock [
aBlock whileFalse: [ self step ]
]

{ #category : #stackAccessHelpers }
SindarinDebugger >> temporaries [
"Returns the temporary variables of the current stack-frame."
self flag: 'Should not be called temporaries because it is a dictionary key->values and not variables'.
^ self context temporaries
]

{ #category : #stackAccessHelpers }
SindarinDebugger >> temporaryNamed: aSymbol [
^self context tempNamed: aSymbol
Expand Down