Skip to content

Commit be3549e

Browse files
Integrate from LLVM at llvm/llvm-project@839f521
1 parent 965e00d commit be3549e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src-ts/debug-adapter-factory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export class LLDBDapDescriptorFactory
211211
if (session.configuration.debugAdapterPort) {
212212
return new vscode.DebugAdapterServer(
213213
session.configuration.debugAdapterPort,
214-
session.configuration.debugAdapterHost,
214+
session.configuration.debugAdapterHostname,
215215
);
216216
}
217217

src-ts/debug-configuration-provider.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ export class LLDBDapConfigurationProvider
3232
): Promise<vscode.DebugConfiguration | null | undefined> {
3333
try {
3434
if (
35-
"debugAdapterHost" in debugConfiguration &&
35+
"debugAdapterHostname" in debugConfiguration &&
3636
!("debugAdapterPort" in debugConfiguration)
3737
) {
3838
throw new ErrorWithNotification(
39-
"A debugAdapterPort must be provided when debugAdapterHost is set. Please update your launch configuration.",
39+
"A debugAdapterPort must be provided when debugAdapterHostname is set. Please update your launch configuration.",
4040
new ConfigureButton(),
4141
);
4242
}
@@ -83,7 +83,7 @@ export class LLDBDapConfigurationProvider
8383
// and list of arguments.
8484
delete debugConfiguration.debugAdapterExecutable;
8585
delete debugConfiguration.debugAdapterArgs;
86-
debugConfiguration.debugAdapterHost = serverInfo.host;
86+
debugConfiguration.debugAdapterHostname = serverInfo.host;
8787
debugConfiguration.debugAdapterPort = serverInfo.port;
8888
}
8989
}

0 commit comments

Comments
 (0)