Skip to content

Commit 88095b9

Browse files
committed
Improving error message wording.
1 parent 9cca26e commit 88095b9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lldb/tools/lldb-dap/src-ts/debug-adapter-factory.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,13 @@ export class LLDBDapDescriptorFactory
181181
* Shows a message box when the debug adapter's path is not found
182182
*/
183183
static async showLLDBDapNotFoundMessage(path?: string) {
184+
const message =
185+
path
186+
? `Debug adapter path: ${path} is not a valid file.`
187+
: "Unable to find the path to the LLDB debug adapter executable.";
184188
const openSettingsAction = "Open Settings";
185189
const callbackValue = await vscode.window.showErrorMessage(
186-
path ? `Debug adapter path: ${path} is not a valid file` :
187-
`Debug adapter executable not found`,
190+
message,
188191
openSettingsAction,
189192
);
190193

0 commit comments

Comments
 (0)