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

Register DebugAdapterExecutableFactory #3912

Merged
merged 5 commits into from
Jul 14, 2020

Conversation

JoeRobich
Copy link
Member

Fixes #3512

  • Removes the "csharp.coreclrAdapterExecutableCommand" & "csharp.clrAdapterExecutableCommand"
  • Registers a DebugAdapterExecutableFactory with the logic from the getAdapterExecutionCommand method.

cc: @gregg-miskelly, @WardenGnaw

package.json Outdated Show resolved Hide resolved
// use the executable specified in the package.json if it exists or determine it based on some other information (e.g. the session)
if (!executable) {
const command = path.join(common.getExtensionPath(), ".debugger", "vsdbg-ui" + CoreClrDebugUtil.getPlatformExeExtension());
//const args = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: leftover comments?

@@ -52,8 +51,6 @@ export default function registerCommands(context: vscode.ExtensionContext, serve
disposable.add(vscode.commands.registerCommand('csharp.listRemoteProcess', async (args) => RemoteAttachPicker.ShowAttachEntries(args, platformInfo)));

// Register command for adapter executable command.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove outdated comment

@JoeRobich JoeRobich merged commit 5c11429 into dotnet:master Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please consider to move off from deprecated APIs
2 participants