Skip to content

Commit

Permalink
Merge pull request #800 from Unity-Technologies/il2cpp-debugger-type-…
Browse files Browse the repository at this point in the history
…is-initialized-fix

Fixing debugger command CMD_TYPE_IS_INITIALIZED for il2cpp
  • Loading branch information
brianradunity authored Jan 17, 2018
2 parents ce99638 + 7fa476f commit 4d85d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono/mini/debugger-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -10076,7 +10076,7 @@ type_commands_internal (int command, MonoClass *klass, MonoDomain *domain, guint
#ifndef RUNTIME_IL2CPP
buffer_add_int (buf, (vtable->initialized || vtable->init_failed) ? 1 : 0);
#else
buffer_add_int (buf, vtable->initialized ? 1 : 0);
buffer_add_int (buf, klass->initialized ? 1 : 0);
#endif
else
buffer_add_int (buf, 0);
Expand Down

0 comments on commit 4d85d0e

Please sign in to comment.