Skip to content

Conversation

@adri09070
Copy link
Collaborator

@adri09070 adri09070 commented Sep 5, 2022

Fixes #28 and #13 . Needs pharo-project/pharo#11651 to be merged

When we used skipUpTo in a block to skip instructions, the image would freeze, even though it wouldn't if we had used skipUpTo to skip the same instructions outside of a block.

This is due to skipUpTo not managing errors when the aimed node is not reachable (when, in the context of the node, context pc is greater than the last offset mapped to the aimed node.

I fixed it so that skipUpTo doesn't skip anything when this is the case.

It also fixes #13 because, alongside my bunch of PRs improving the unitary skip, this PR makes the command much more stable. From what I've seen, my image doesn't freeze anymore when I use the command

@adri09070
Copy link
Collaborator Author

I'm not sure of why there is a failing test for uncategorised methods while it doesn't say which method is uncategorized

@adri09070
Copy link
Collaborator Author

It doesn't look like the failing tests are related as the two failing tests are on the issue tracker

@MarcusDenker MarcusDenker merged commit 8837974 into pharo-spec:master Sep 21, 2022
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.

Skip through and skipUpTo *sometimes* freeze the image when skipping in a block Skip through and skip to are unstable

2 participants