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

Refactor throw/catch blocks used in place of GOTO #43

Open
ceremcem opened this issue Nov 26, 2018 · 0 comments
Open

Refactor throw/catch blocks used in place of GOTO #43

ceremcem opened this issue Nov 26, 2018 · 0 comments

Comments

@ceremcem
Copy link
Collaborator

Using throw/catch as GOTO makes debugger stop every throw ... line in Pause on exceptions mode:

image

So codes like this should be refactored to use if/else or for/break.

@ceremcem ceremcem changed the title Refactor throw/catch usages as a GOTO statement Refactor throw/catch blocks used in place of GOTO Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant