Skip to content

Commit 5e17eee

Browse files
committed
address feedback
1 parent 30b5be6 commit 5e17eee

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Extension/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5799,8 +5799,6 @@
57995799
"cuda-cpp",
58005800
"rust"
58015801
],
5802-
"_aiKeyComment": "Ignore 'Property aiKey is not allowed'. See https://github.com/microsoft/vscode/issues/76493",
5803-
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
58045802
"variables": {
58055803
"pickProcess": "extension.pickNativeProcess",
58065804
"pickRemoteProcess": "extension.pickRemoteNativeProcess"
@@ -8068,4 +8066,4 @@
80688066
"postcss": "^8.4.31",
80698067
"gulp-typescript/**/glob-parent": "^5.1.2"
80708068
}
8071-
}
8069+
}

Extension/package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@
891891
"c_cpp.debuggers.miDebuggerArgs.description": "Additional arguments for the MI debugger (such as gdb).",
892892
"c_cpp.debuggers.miDebuggerServerAddress.description": "Network address of the MI Debugger Server to connect to (example: localhost:1234).",
893893
"c_cpp.debuggers.useExtendedRemote.description": "Connect to the MI Debugger Server with target extended-remote mode.",
894-
"c_cpp.debuggers.stopAtEntry.description": "Optional parameter. If true, the debugger should stop at the entrypoint of the target. If `processId` is passed, has no effect.",
894+
"c_cpp.debuggers.stopAtEntry.description": "Optional parameter. If true, the debugger should stop at the entrypoint of the target. If processId is passed, has no effect.",
895895
"c_cpp.debuggers.debugServerPath.description": "Optional full path to the debug server to launch. Defaults to null. It is used in conjunction with either \"miDebugServerAddress\" or your own server with a \"customSetupCommand\" that runs \"-target-select remote <server:port>\".",
896896
"c_cpp.debuggers.debugServerArgs.description": "Optional debug server args. Defaults to null.",
897897
"c_cpp.debuggers.serverStarted.description": "Optional server-started pattern to look for in the debug server output. Defaults to null.",

Extension/src/Debugger/configurationProvider.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,9 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
377377

378378
// They did specify 'waitFor' so then let's get out fast and let lldb-dap handle it.
379379
logger.note(localize("waiting.for.process", "Waiting to attach process '{0}'", config.program));
380-
return translateToLldbDap(config);
380+
translateToLldbDap(config);
381+
Telemetry.logDebuggerEvent(config.request, { "debuggerType": config.type });
382+
return config;
381383
}
382384

383385
// Just let the picker show all processes.
@@ -410,8 +412,11 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
410412
// Finish translating the config for lldb-dap.
411413
if (config.type === DebuggerType.cpplldb) {
412414
translateToLldbDap(config);
415+
Telemetry.logDebuggerEvent(config.request, { "debuggerType": config.type });
416+
return config;
413417
}
414418

419+
Telemetry.logDebuggerEvent(config.request, { "debuggerType": config.type, mimode: config.MIMode });
415420
return config;
416421
}
417422

0 commit comments

Comments
 (0)