NewTools icon indicating copy to clipboard operation
NewTools copied to clipboard

Debugger should ask the user where to install a method we've just recompiled

Open adri09070 opened this issue 2 years ago • 0 comments

How to reproduce the bug:

Class hierarchy:

image

image

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:

image

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.

image

adri09070 avatar Jan 23 '23 14:01 adri09070