Skip to content

Commit 6d260d6

Browse files
authored
Try to fix dynamic instrumentation tests (#7415)
## Summary of changes Try to fix dynamic instrumentation tests ## Reason for change The debugger tests are broken in master because #7398 didn't trigger the debugger tests to run ## Implementation details Add the log message it expects ## Test coverage Will trigger a dedicated test run to make sure we test the debugger ## Other details We should probably update the `Instrumentation` file to be co-owned, to make sure this kind of thing doesn't happen again - #7416
1 parent 03a1f34 commit 6d260d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tracer/src/Datadog.Trace/ClrProfiler/Instrumentation.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,10 @@ private static void InitializeDebugger(TracerSettings tracerSettings)
463463
}
464464
});
465465
}
466+
else
467+
{
468+
Log.Information($"Dynamic Instrumentation is disabled. To enable it, please set {ConfigurationKeys.Debugger.DynamicInstrumentationEnabled} environment variable to 'true'.");
469+
}
466470
}
467471

468472
// /!\ This method is called by reflection in the SampleHelpers

0 commit comments

Comments
 (0)