[debugger][android] Fixing single step inside Exception on Android (mono/mono#16596)
authorThays Grazia <thaystg@gmail.com>
Tue, 3 Sep 2019 20:28:37 +0000 (17:28 -0300)
committerSteve Pfister <steveisok@users.noreply.github.com>
Tue, 3 Sep 2019 20:28:37 +0000 (16:28 -0400)
commit50ae3a938e65e69028dacbb1a8aee969dcd7abe4
tree3e0c197870c9db9b4cc3ae96dda2c5b2fdb7e94a
parent8398e5e6c53b564d628888965b4cda8625be059b
[debugger][android] Fixing single step inside Exception on Android (mono/mono#16596)

* Fixing single step inside Exception on Android...
The method is null because on ss_create_init_args the IL is -1 when calling method Mono_UnhandledException_internal what I think it's expected, because of that I ignore the single step on android if there is no method. (debugger-engine.c)
After that the sequence point cannot be found because it's calling a method of class DynamicMethodNameCounter what I think it's expected, because of that I remove the assert on android. (debugger-agent.c)
Fixes mono/mono#14772

* Changing comment to make it clear...

Commit migrated from https://github.com/mono/mono/commit/1046dd746f3f99e97f034a2c2b51bdb4e19128ae
src/mono/mono/mini/debugger-agent.c
src/mono/mono/mini/debugger-engine.c