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

Can extensions have control for hiding context menus like Add Logpoint #88962

Closed
gvrpraneeth opened this issue Jan 20, 2020 · 2 comments
Closed
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *dev-question VS Code Extension Development Question

Comments

@gvrpraneeth
Copy link

gvrpraneeth commented Jan 20, 2020

We are writing a vscode extension for debugging purpose
We would like to show 'Add Conditional Breakpoint' and 'Add Logpoint...' only on specific conditions
Can we achieve this
Please help

@weinand
Copy link
Contributor

weinand commented Jan 20, 2020

No, adding breakpoints and Logpoints is generic VS Code functionality that is independent from any installed debugger extension. If your debugger extension would be able to turn breakpoints and Logpoints off and you have another debugger extension installed that would have them turned on, how should VS Code resolve this?

@weinand weinand closed this as completed Jan 20, 2020
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues *dev-question VS Code Extension Development Question labels Jan 20, 2020
@gvrpraneeth
Copy link
Author

Thanks for your immediate response

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues *dev-question VS Code Extension Development Question
Projects
None yet
Development

No branches or pull requests

2 participants