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

Add DebuggerStepThroughAttribute to generated code #2820

Closed
gep13 opened this issue Jun 29, 2020 · 3 comments · Fixed by #2821
Closed

Add DebuggerStepThroughAttribute to generated code #2820

gep13 opened this issue Jun 29, 2020 · 3 comments · Fixed by #2821
Assignees
Milestone

Comments

@gep13
Copy link
Member

gep13 commented Jun 29, 2020

This will make the debugging experience in IDE's much better, when using (for example) addins that have been run with SourceLink.

Currently, you have to step into the code twice to make it work. This is due to the generated code;

https://github.com/OmniSharp/omnisharp-roslyn/blob/master/tests/OmniSharp.Cake.Tests/TestAssets/single.cake.g.txt#L7722

First step into takes can't find any symbols to step to, the second takes you to the actual method.

@gep13 gep13 added this to the v1.0.0 milestone Jun 29, 2020
@gep13
Copy link
Member Author

gep13 commented Jun 29, 2020

@gep13
Copy link
Member Author

gep13 commented Jun 29, 2020

@cake-build-bot
Copy link

🎉 This issue has been resolved in version v1.0.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

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

Successfully merging a pull request may close this issue.

3 participants