pharo
pharo copied to clipboard
Installing a breakpoint into an unsaved method hangs the image
Bug description Installing a breakpoint into an unsaved method hangs the image without user interrupt working.
To Reproduce Steps to reproduce the behavior:
- Go to any method, modify it (e.g. by adding space)
- Add a breakpoint on any place in the method (from context menu or by clicking on the left bar, makes no difference)
- Image hangs
Version information:
Pharo 12.0.0 Build information: Pharo-12.0.0+build.1249.sha.1da0f13d6bce006cb0c38802b2e7092f3abf2e14 (64 Bit)
Problem seems to be in
affectsMethod: aMethod
^ self link methods anySatisfy: [:each | each compiledMethod == aMethod compiledMethod ]
See the following screenshot:
methods is answering nil elements. While checking why this happen stepping into my image also hung:
Maybe @MarcusDenker has a suggestion here for a fix?
This problem (of a crash) does not happen anymore,
But we found another issue, we will open a new issue