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

Permit breakpoints in the switch expression. #37805

Closed
gafter opened this issue Aug 7, 2019 · 2 comments
Closed

Permit breakpoints in the switch expression. #37805

gafter opened this issue Aug 7, 2019 · 2 comments

Comments

@gafter
Copy link
Member

gafter commented Aug 7, 2019

In support of #22016 please make the compiler generate the necessary sequence points so that we can set breakpoints in the when clause and expression part of a switch expression. This would require promoting the temps to long-lived temps.

@CyrusNajmabadi
Copy link
Member

Yes please. I just hit this today trying to debug code that i wrote in a very switch-expression heavy fashion. :)

@gafter
Copy link
Member Author

gafter commented Apr 1, 2020

Addressed in #42711

@gafter gafter closed this as completed Apr 1, 2020
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

2 participants