[debugger] Removing unhandled_exception which was used for android. (#39377)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 24 Jul 2020 14:42:10 +0000 (10:42 -0400)
committerGitHub <noreply@github.com>
Fri, 24 Jul 2020 14:42:10 +0000 (11:42 -0300)
commitb5293d49e0643f8cf16854c28cca81e2f7987027
tree6f82599467799f66653b3409b736189d02256f4f
parentefd5565f3f8e209f7fada00e0c8c0779459faf35
[debugger] Removing unhandled_exception which was used for android. (#39377)

Trying to remove the usage of unhandled_exception function to make debugger handle with an exception when running on android.
We should ignore the try catch that is in an WRAPPER_SUBTYPE_ICALL_WRAPPER, then we can walk through all the callstack and find any try catch in managed code if it exists.

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