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

provideDebugAdapterTracker API feedback #59420

Closed
roblourens opened this issue Sep 26, 2018 · 1 comment
Closed

provideDebugAdapterTracker API feedback #59420

roblourens opened this issue Sep 26, 2018 · 1 comment
Assignees
Labels
api debug Debug viewlet, configurations, breakpoints, adapter issues
Milestone

Comments

@roblourens
Copy link
Member

roblourens commented Sep 26, 2018

#59110

  • What's the difference between debugAdapterExit and stopDebugAdapter? I might expect that stopDebugAdapter would only come first when the stop button is clicked in vscode, but I always see stopDebugAdapter before debugAdapterExit.
  • Interfaces in extension API don't start with I
  • "Tracker" as a name is ok, some other possibilities are "DebugAdapterListener", "DebugAdapterSpy", "DebugAdapterTap", "DebugAdapterObserver"
@weinand weinand added debug Debug viewlet, configurations, breakpoints, adapter issues api labels Sep 26, 2018
@weinand weinand added this to the October 2018 milestone Sep 26, 2018
@weinand
Copy link
Contributor

weinand commented Oct 29, 2018

Thanks for the feedback!

  • VS Code calls stopDebugAdapter to stop the adapter whereas debugAdapterExit is sent by the DA when it exits.
  • I've renamed IDebugAdapterTracker to DebugAdapterTracker
  • I'll go with DebugAdapterTracker because "Listener" and "Observer" are misleading and "Spy" and "Tap" sound too scary.

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

2 participants