Skip to content

Commit 4d85d0e

Browse files
author
brianradunity
authored
Merge pull request #800 from Unity-Technologies/il2cpp-debugger-type-is-initialized-fix
Fixing debugger command CMD_TYPE_IS_INITIALIZED for il2cpp
2 parents ce99638 + 7fa476f commit 4d85d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mono/mini/debugger-agent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10076,7 +10076,7 @@ type_commands_internal (int command, MonoClass *klass, MonoDomain *domain, guint
1007610076
#ifndef RUNTIME_IL2CPP
1007710077
buffer_add_int (buf, (vtable->initialized || vtable->init_failed) ? 1 : 0);
1007810078
#else
10079-
buffer_add_int (buf, vtable->initialized ? 1 : 0);
10079+
buffer_add_int (buf, klass->initialized ? 1 : 0);
1008010080
#endif
1008110081
else
1008210082
buffer_add_int (buf, 0);

0 commit comments

Comments
 (0)