Skip to content

Commit 1e16a92

Browse files
authored
Merge pull request Pryaxis#250 from Arthri/feat/show-ILOffsets
Show IL offsets
2 parents 596518e + a6a64fc commit 1e16a92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TerrariaServerAPI/TerrariaApi.Server/ServerApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public static bool IsWorldRunning
7575

7676
static ServerApi()
7777
{
78+
AppContext.SetSwitch("Switch.System.Diagnostics.StackTrace.ShowILOffsets", true);
7879
Dictionary<string, string> args = Utils.ParseArguements(Environment.GetCommandLineArgs());
7980
Hooks = new HookManager();
8081
LogWriter = new LogWriterManager(enabled: !args.ContainsKey("-nolog"));

0 commit comments

Comments
 (0)