MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / logDebuggerStart

Method logDebuggerStart

src/extension/analytics.ts:396–405  ·  view source on GitHub ↗
(debuggerType: string, debuggerRunType: string, sdkDap: boolean)

Source from the content-addressed store, hash-verified

394 }
395 public logSdkDetectionFailure() { this.event(AnalyticsEvent.SdkDetectionFailure); }
396 public logDebuggerStart(debuggerType: string, debuggerRunType: string, sdkDap: boolean) {
397 const customData: Partial<AnalyticsData> = {
398 debuggerAdapterType: sdkDap ? "SDK" : "Legacy",
399 debuggerExceptionBreakMode: debuggerRunType === "Debug" ? this.exceptionBreakTrackerFactory.lastTracker?.lastExceptionOptions : undefined,
400 debuggerPreference: this.getDebuggerPreference(),
401 debuggerRunType,
402 debuggerType,
403 };
404 this.event(AnalyticsEvent.Debugger_Activated, customData);
405 }
406 public logAddSdkToPath(result: AddSdkToPathResult) {
407 const customData: Partial<AnalyticsData> = {
408 addSdkToPathResult: AddSdkToPathResult[result],

Callers

nothing calls this directly

Calls 2

getDebuggerPreferenceMethod · 0.95
eventMethod · 0.95

Tested by

no test coverage detected