Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DNU when recompiling block with dead home #513

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

guillep
Copy link
Contributor

@guillep guillep commented Apr 28, 2023

Choose endPC as home pc in that case.
Check that the home is recompiled and the stack does not move

Depends on pharo-project/pharo#13592

Choose endPC as home pc in that case.
Check that the home is recompiled and the stack does not move
@guillep guillep changed the base branch from Pharo12 to Pharo11 April 28, 2023 16:55
@adri09070 adri09070 closed this May 17, 2023
@adri09070 adri09070 reopened this May 17, 2023
@adri09070
Copy link
Contributor

I experimented with your branch because I wanted to check some things and I found a bug:

If you recompile the method with the dead block, it will work the first time but not if you attempt to recompile it a second time in the same debugger.

@adri09070 adri09070 requested a review from StevenCostiou May 22, 2023 07:12
Copy link
Contributor

@adri09070 adri09070 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only reason I haven't approved the changes yet is that I'm not sure that the tests actually test the right things, and I wonder if it could not lead to another (minor) bug in the debugger inspector update.

Still, it fixes an annoying bug, so I think we can merge it and see if it actually leads to other bugs

@MarcusDenker MarcusDenker merged commit 55d819f into pharo-spec:Pharo11 Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants