Skip to content

Commit eb83751

Browse files
committed
Revert part of the changes done in pharo-spec#1259.
Updating the UI does a full refresh, expecting to update only when the entire state of the debugger is new. Thus, calling updateStep loses the scroll, and sometimes forces a scrolling to the beginning.
1 parent bf45d29 commit eb83751

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NewTools-Debugger/StDebugger.class.st

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,8 @@ StDebugger >> updateInspectorFromContext: aContext [
15551555
isAssertionFailure:
15561556
self debuggerActionModel isInterruptedContextAnAssertEqualsFailure.
15571557
inspector updateWith: (self newDebuggerContextFor: aContext).
1558-
self updateStep
1558+
self flag: #DBG_INSPECTOR_UPDATE_BUG.
1559+
inspector getRawInspectorPresenterOrNil ifNotNil: [ :p | p update ]
15591560
]
15601561

15611562
{ #category : 'updating' }

0 commit comments

Comments
 (0)