feat: include line numbers/file info in stacktrace

This commit is contained in:
Kaz Wolfe 2025-08-19 12:16:34 -07:00
parent 32cb6e2127
commit 9e405b26d2
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4

View file

@ -96,7 +96,7 @@ internal class AssertHandler : IDisposable
if (!this.ShowAsserts && !this.everShownAssertThisSession)
return;
Lazy<StackTrace> stackTrace = new(() => DiagnosticUtil.GetUsefulTrace(new StackTrace()));
Lazy<StackTrace> stackTrace = new(() => DiagnosticUtil.GetUsefulTrace(new StackTrace(true)));
if (!this.EnableVerboseLogging)
{