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

Debug API to create/remove breakpoints #42173

Closed
weinand opened this issue Jan 26, 2018 · 1 comment
Closed

Debug API to create/remove breakpoints #42173

weinand opened this issue Jan 26, 2018 · 1 comment
Assignees
Labels
api debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality on-testplan
Milestone

Comments

@weinand
Copy link
Contributor

weinand commented Jan 26, 2018

In the last milestone we've added API to make the set of breakpoints registered with VS Code available to extensions. Now we need to add API to add and remove breakpoints programmatically.

@weinand weinand added feature-request Request for new features or functionality api debug Debug viewlet, configurations, breakpoints, adapter issues labels Jan 26, 2018
@weinand weinand added this to the January 2018 milestone Jan 26, 2018
@weinand weinand self-assigned this Jan 26, 2018
@weinand
Copy link
Contributor Author

weinand commented Jan 29, 2018

Here is the new API (available only in vscode.proposed.d.ts):

export namespace debug {

	/**
	 * Add breakpoints.
	 * @param breakpoints The breakpoints to add.
	*/
	export function addBreakpoints(breakpoints: Breakpoint[]): void;

	/**
	 * Remove breakpoints.
	 * @param breakpoints The breakpoints to remove.
	 */
	export function removeBreakpoints(breakpoints: Breakpoint[]): void;
}

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 12, 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 feature-request Request for new features or functionality on-testplan
Projects
None yet
Development

No branches or pull requests

1 participant