Skip to content

Implementing step-to-catch for il2cpp debugger #760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
2 commits merged into from
Dec 12, 2017

Conversation

ghost
Copy link

@ghost ghost commented Dec 12, 2017

No description provided.

@ghost ghost requested review from joncham and mderoy December 12, 2017 18:42
@@ -4100,6 +4104,7 @@ thread_startup (MonoProfiler *prof, uintptr_t tid)
}
#ifdef IL2CPP_MONO_DEBUGGER
tls = il2cpp_gc_alloc_fixed(sizeof(DebuggerTlsData));
tls->exception = NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am pretty sure il2cpp_gc_alloc_fixed sets everything to 0.

@joncham
Copy link
Member

joncham commented Dec 12, 2017

@brianradunity Actually, I may have been wrong about it being zeroed. But, if it's not zeroed we should be memset'ing the whole structure not just the one field.

@ghost ghost merged commit 450fd71 into unity-master-staging Dec 12, 2017
@ghost ghost deleted the unity-master-staging-debugger-step-to-catch branch December 12, 2017 19:10
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants