[debugger] Remove assert when the DebuggerTypeProxy cannot be instantiated (#34966)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 16 Apr 2020 13:17:12 +0000 (09:17 -0400)
committerGitHub <noreply@github.com>
Thu, 16 Apr 2020 13:17:12 +0000 (10:17 -0300)
commitc2f47d9fd21f5b68272d65600f504ea3fe9abd85
treeace3509e9afedab5bd6845bfb69f882a852a10cf
parentc991d9bc35b38016d8a48e745f842b648678fb9a
[debugger] Remove assert when the DebuggerTypeProxy cannot be instantiated (#34966)

Remove the assert because we don't need to stop the debug if we cannot create the object when calling the constructor using invoke_method, if it's a DebuggerTypeProxy, we are not able to show the value of the DebuggerTypeProxy, but we still can show the Raw View, if it's not the case of DebuggerTypeProxy, we just cannot evaluate this expression, but we can continue the debug session.

Fix mono/mono#19492

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