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] Removing some asserts #19758

Merged
merged 4 commits into from
May 14, 2020
Merged

[debugger] Removing some asserts #19758

merged 4 commits into from
May 14, 2020

Conversation

thaystg
Copy link
Contributor

@thaystg thaystg commented May 11, 2020

Removing some asserts and returning err_invalid_argument with an error message when it's possible.

Fixes #19651

@thaystg
Copy link
Contributor Author

thaystg commented May 13, 2020

@vargaz , I tested on VsMac and with this change if we cannot find get_ObjectIdForDebugger and we cannot find the property Task, we cannot single step the async method, but we can continue debugging and breaking in other breakpoints, does it make sense for you?

@thaystg thaystg requested a review from vargaz May 13, 2020 14:46
@thaystg thaystg merged commit 13c5c41 into mono:master May 14, 2020
UnityAlex pushed a commit to Unity-Technologies/mono that referenced this pull request May 14, 2020
* Removing some asserts and returning err_invalid_argument with an error message when it's possible.

* if we don't find method get_ObjectIdForDebugger we try to find the property Task to continue async debug.

Cherry-picked by Alex Thibodeau with some moderate changes
spatil-rythmos pushed a commit to Unity-Technologies/mono that referenced this pull request Jun 15, 2020
* Removing some asserts and returning err_invalid_argument with an error message when it's possible.

* if we don't find method get_ObjectIdForDebugger we try to find the property Task to continue async debug.

Cherry-picked by Alex Thibodeau with some moderate changes
spatil-rythmos pushed a commit to Unity-Technologies/mono that referenced this pull request Jun 22, 2020
* Removing some asserts and returning err_invalid_argument with an error message when it's possible.

* if we don't find method get_ObjectIdForDebugger we try to find the property Task to continue async debug.

Cherry-picked by Alex Thibodeau with some moderate changes
spatil-rythmos pushed a commit to Unity-Technologies/mono that referenced this pull request Jun 29, 2020
* Removing some asserts and returning err_invalid_argument with an error message when it's possible.

* if we don't find method get_ObjectIdForDebugger we try to find the property Task to continue async debug.

Cherry-picked by Alex Thibodeau with some moderate changes
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.

Hitting assert (causes crash) in get_object_id_for_debugger_method
2 participants