Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
disable token info in traces.
Though token+offset is useful for certain scenarios, they might not be usable for majority of scenarios. So disabling them by default.
  • Loading branch information
mangod9 committed Aug 3, 2021
commit 6b015b5c7cc888e448121f13ad3198fc06a65cd0
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ private static bool GetDefaultShowILOffsetSetting()
if (s_showILOffset < 0) return false;
if (s_showILOffset > 0) return true;

bool isSwitchEnabled = AppContextConfigHelper.GetBooleanConfig("Switch.System.Diagnostics.StackTrace.ShowILOffsets", true);
// Disabled by default.
bool isSwitchEnabled = AppContextConfigHelper.GetBooleanConfig("Switch.System.Diagnostics.StackTrace.ShowILOffsets", false);
s_showILOffset = isSwitchEnabled ? 1 : -1;

return isSwitchEnabled;
Expand Down