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

Adding halt to the list of captured exceptions when single stepping #5289

Merged
merged 2 commits into from
Dec 9, 2019
Merged

Adding halt to the list of captured exceptions when single stepping #5289

merged 2 commits into from
Dec 9, 2019

Conversation

StevenCostiou
Copy link
Collaborator

…pose? (present in P5, removed in P6)

- UnhandledError cannot be catched, as it is not a subclass of Error
@@ -1672,10 +1672,10 @@ Context >> runUntilErrorOrReturnFrom: aSender [
"Insert ensure and exception handler contexts under aSender"
error := nil.
context := aSender insertSender: (Context
contextOn: Error do: [:ex |
contextOn: Error, Halt do: [:ex |
error ifNil: [
"this is ugly but it fixes the side-effects of not sending an Unhandled error on Halt"
Copy link
Member

Choose a reason for hiding this comment

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

if you remove the isKindOf:, this comment still has sense? it applies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmmm indeed, that comment could be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stepping on halt is breaking debugging experience
4 participants