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

Support source generator debug launch profiles #7289

Closed
drewnoakes opened this issue Jun 1, 2021 · 4 comments
Closed

Support source generator debug launch profiles #7289

drewnoakes opened this issue Jun 1, 2021 · 4 comments
Labels
Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner Must-Have Items that must be delivered by the end of the assigned milestone
Milestone

Comments

@drewnoakes
Copy link
Member

Roslyn source generators may be debugged using a DebugRoslynComponent command name.

We need to support this in the new Launch Profiles UI.

An example: https://github.com/davidwengier/Trains.NET/blob/main/src/Trains.NET.SourceGenerator/Properties/launchSettings.json

@drewnoakes drewnoakes added Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. Must-Have Items that must be delivered by the end of the assigned milestone Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner labels Jun 1, 2021
@drewnoakes drewnoakes added this to the 17.0 milestone Jun 1, 2021
@drewnoakes
Copy link
Member Author

FYI @chsienki

@tmeschter
Copy link
Contributor

Ideally the UI for this command would live in the same place as the command implementation. Do we know where that is?

Or, more to the point: it probably shouldn't live here. :-)

@drewnoakes
Copy link
Member Author

Ideally the UI for this command would live in the same place as the command implementation.

Agreed.

Do we know where that is?

It's in the Roslyn SDK:

https://github.com/dotnet/roslyn-sdk/blob/d16bce93b36d078682776b93d5435287b038783f/src/VisualStudio.Roslyn.SDK/ComponentDebugger/Constants.cs#L11

There's a custom ILaunchSettingsUIProvider too, for the legacy property pages.

I'll transfer this issue to that repo.

@drewnoakes
Copy link
Member Author

I ended up filing a new issue with more context on what's required: dotnet/roslyn-sdk#850

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Debugging Launching an application via F5, setting debug properties and launch profiles. Feature-Project-Properties-Designer The new project property pages which replace the legacy AppDesigner Must-Have Items that must be delivered by the end of the assigned milestone
Projects
None yet
Development

No branches or pull requests

2 participants