Skip to content

Commit 4b29e9e

Browse files
unpackloUnityAlex
authored andcommitted
Gather callstack even if instruction pointer is null.
1 parent 34e7563 commit 4b29e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/mini/mini-exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3417,7 +3417,7 @@ mono_unity_backtrace_from_context (void* context, void* array[], int count)
34173417
ip = (void*)MONO_CONTEXT_GET_IP(&mctx);
34183418
bp = (void**)MONO_CONTEXT_GET_BP(&mctx);
34193419

3420-
while(ip && bp && count-- > 0)
3420+
while(bp && count-- > 0)
34213421
{
34223422
array[idx++] = ip;
34233423

0 commit comments

Comments
 (0)