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

Allow user to customize variable presentation when debugging through Visual Studio #6334

Closed
3 of 5 tasks
AdamYoblick opened this issue Jan 6, 2021 · 2 comments · Fixed by #6337
Closed
3 of 5 tasks
Assignees
Labels
enhancement fixed in next version A fix has been implemented an will appear in an upcoming version

Comments

@AdamYoblick
Copy link
Member

AdamYoblick commented Jan 6, 2021

Same as the vscode request at microsoft/vscode-python-debugger#165

Describe the feature you are requesting
I want to be able to customize how variables are presented in the visual studio debugger (hide built-in functions, for example).

Reasons for requesting this feature
Less noise, makes debugging more efficient. This is also requested by vscode users, as well as a dev community ticket for PTVS.

Describe alternatives you've considered
There are no alternatives, there's no way to hide the extra stuff.

Additional context
Here's a screenshot of a repro:

image

Remaining tasks:

  • Proof of concept
  • Create variable presentation options at Tools -> Options -> Python -> Debugging
  • Remove hardcoded POC values and hook up to options page
  • Coordinate with VS UI team to get options page UI approval?
  • Coordinate with vscode team to synchronize releases?
@AdamYoblick
Copy link
Member Author

Proof of concept is complete. 😄

Before:

image

After:

image

@AdamYoblick AdamYoblick changed the title Customize variable presentation when debugging through Visual Studio Allow user to customize variable presentation when debugging through Visual Studio Jan 6, 2021
@AdamYoblick
Copy link
Member Author

AdamYoblick commented Jan 12, 2021

Creating new options on the options page and passing those options to the debugger when launching is complete. Here's what the page looks like:

image

@AdamYoblick AdamYoblick added the fixed in next version A fix has been implemented an will appear in an upcoming version label Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement fixed in next version A fix has been implemented an will appear in an upcoming version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant