-
Notifications
You must be signed in to change notification settings - Fork 513
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 NOT_IMPLEMENTED while debugging. (#19248) #1274
Conversation
- Changed the behavior on debugger-agent, if we can't parse the new behavior is to return invalid_argument and not assert and stop debugging - Changed the mono_domain_set_fast before return from assembly_commands. - Add error message when return INVALID_ARGUMENT Fixes mono#19146
FYI we're fixing the VSTU side of the issue in Visual Studio 2019 16.6. |
Can we make this change in the IL2CPP debugger code as well? |
Yep I can bring it over to there too. |
ReadInt (); // id | ||
ReadByte (); // flags | ||
ErrorCode = ReadShort (); | ||
if (ErrorCode == (int)Mono.Debugger.Soft.ErrorCode.INVALID_ARGUMENT && len > offset) | ||
ErrorMsg = ReadString (); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a protocol bump for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was not in the PR upstream: mono#19248
I can ask there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the answer is "No, but yes."
@joncham you're going to have to merge this one because of the CLA bot |
Fixes mono#19146
Fixes case 1197204