NewTools
NewTools copied to clipboard
Debugger should ask the user where to install a method we've just recompiled
How to reproduce the bug:
Class hierarchy:
In a playground:
obj := B new. #Do it
obj titi #Debug it
In the debugger, perform stepInto to enter the titi method and modify it to make it return 42 and save with CMD+S:
The recompiled method is installed in class A
because it was defined there and not overriden in class B
. However, as the receiver is an instance of B
, we could expect the debugger to ask the user where to recompile the method because the user might want to override the metod from A
in class B
.