Skip to content

Commit bab4872

Browse files
committed
Gather callstack even if instruction pointer is null.
1 parent 79a0da3 commit bab4872

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
@@ -2727,7 +2727,7 @@ mono_unity_backtrace_from_context (void* context, void* array[], int count)
27272727
ip = (void*)MONO_CONTEXT_GET_IP(&mctx);
27282728
bp = (void**)MONO_CONTEXT_GET_BP(&mctx);
27292729

2730-
while(ip && bp && count-- > 0)
2730+
while(bp && count-- > 0)
27312731
{
27322732
array[idx++] = ip;
27332733

0 commit comments

Comments
 (0)