Skip to content
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

[Debugger] Fix crash when there is a generic struct with a field that… #1250

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

UnityAlex
Copy link
Collaborator

@UnityAlex UnityAlex commented Feb 3, 2020

… is an enumerator. (mono#12368) Unity: (case 1210416)

… is an enumerator. (mono#12368)

* [Debugger]  Debugger crashes when inside a class, there is an internal struct, with a field that is an enumerator.
files.myBucket.GetEnumerator().get_Current().Key
Fixes mono#10735

* [Debugger] Debugger crashes when there is a generic struct with a field that is an enumerator.
Example: files.get_Current().Key
A unit test that reproduces this crash was added too.
Fixes mono#10735

* Removing the extra space.

* UnityAlex cherry-pick modification: Removed tests
@unity-cla-assistant
Copy link
Collaborator

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@UnityAlex UnityAlex merged commit ea40a8c into unity-master Feb 3, 2020
@UnityAlex UnityAlex deleted the fix-debugger-crash-1210416 branch February 3, 2020 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants