@@ -1069,23 +1069,18 @@ export class DebugService implements IDebugService {
10691069 private telemetryDebugAddBreakpoint ( breakpoint : IBreakpoint , context : string ) : TPromise < any > {
10701070 /* __GDPR__
10711071 "debugAddBreakpoint" : {
1072- "type" : { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
1073- "context": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
1072+ "context": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
1073+ "hasCondition": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
1074+ "hasHitCondition": { "classification": "SystemMetaData", "purpose": "FeatureInsight" },
1075+ "hasLogMessage": { "classification": "SystemMetaData", "purpose": "FeatureInsight" }
10741076 }
10751077 */
10761078
1077- var breakpointType = 'Breakpoint' ;
1078- if ( breakpoint . condition ) {
1079- breakpointType = 'BreakpointConditional' ;
1080- } else if ( breakpoint . hitCondition ) {
1081- breakpointType = 'BreakpointHitCount' ;
1082- } else if ( breakpoint . logMessage ) {
1083- breakpointType = 'Logpoint' ;
1084- }
1085-
10861079 return this . telemetryService . publicLog ( 'debugAddBreakpoint' , {
1087- type : breakpointType ,
1088- context : context
1080+ context : context ,
1081+ hasCondition : ! ! breakpoint . condition ,
1082+ hasHitCondition : ! ! breakpoint . hitCondition ,
1083+ hasLogMessage : ! ! breakpoint . logMessage
10891084 } ) ;
10901085 }
10911086}
0 commit comments