Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit f7b10ee

Browse files
authored
Add starting cppdbg trace. (#338)
1 parent 6cff762 commit f7b10ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/debug/configurator.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { VscodeSettings } from "../arduino/vscodeSettings";
1313
import * as platform from "../common/platform";
1414
import * as util from "../common/util";
1515
import { DeviceContext } from "../deviceContext";
16+
import * as Logger from "../logger/logger";
1617
import { DebuggerManager } from "./debuggerManager";
1718

1819
/**
@@ -96,6 +97,8 @@ export class DebugConfigurator {
9697
// Use the C++ debugger MIEngine as the real internal debugger
9798
config.type = "cppdbg";
9899
vscode.commands.executeCommand("vscode.startDebug", config);
100+
const dc = DeviceContext.getInstance();
101+
Logger.traceUserData("start-cppdbg", { board: dc.board });
99102
}
100103

101104
private async resolveProgramPath(config) {

0 commit comments

Comments
 (0)