Skip to content

Commit 8b2d187

Browse files
authored
Rewrite IL2CPP Exception StackTrace (#36)
1 parent 2fc2ad4 commit 8b2d187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnhollowerBaseLib/Il2CppException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private static unsafe string BuildMessage(IntPtr exception)
2323
Il2CppSystem.Exception il2cppException = new(exception);
2424
return builtMessage + "\n" +
2525
$"--- BEGIN IL2CPP STACK TRACE ---\n" +
26-
$"{il2cppException.StackTrace}\n" +
26+
$"{il2cppException.ToString(false, true)}\n" +
2727
$"--- END IL2CPP STACK TRACE ---\n";
2828
}
2929

0 commit comments

Comments
 (0)