[debugger] Fix NOT_IMPLEMENTED while debugging. (#33702)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 20 Mar 2020 12:21:27 +0000 (08:21 -0400)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 12:21:27 +0000 (09:21 -0300)
commitfdbd07db4a2dc578c724d328253aa17a5f8e306f
tree00d8e41d231b0a0f734470570bf21609dc9cddbf
parent65bdf93bee95245094c4297da9ab0aa02d3a7824
[debugger] Fix NOT_IMPLEMENTED while debugging. (#33702)

- 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/mono#19146

Co-authored-by: thaystg <thaystg@users.noreply.github.com>
src/mono/mono/mini/debugger-agent.c