Skip to content

Commit 84f0371

Browse files
committed
Show IL offsets
1 parent 3abebfe commit 84f0371

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

MODIFICATIONS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- (5.1.3) Added `Source: https://github.com/Arthri/TSAPI` to logs
88
- (5.1.3) Description is prefixed with `MODIFIED VERSION -`
99
- (5.1.3) Changed package ID from `TSAPI` to `MODEFDP.TSAPI`
10+
- (5.2.0.1) Enabled StackTrace to show IL offsets when PDBs information is unavailable
1011
- (5.1.3.3) Packed PDB in TSAPI package(nupkg)
1112
- (5.1.3.3) Removed explicit .NET version from NuGet Release CI
1213
- (5.1.3.3) Removed explicit .NET version from OTAPIv3 CI

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)