[debugger] Crash when debugging iOS application that throws (mono/mono#16958)
authorThays Grazia <thaystg@gmail.com>
Sun, 22 Sep 2019 19:12:10 +0000 (16:12 -0300)
committerGitHub <noreply@github.com>
Sun, 22 Sep 2019 19:12:10 +0000 (16:12 -0300)
commitc6265beb579ce254c4f1219cd5b6126dcd9c4b3d
tree2d6eda8f40080f851fa788ee9aa7d8492ba64ab0
parent4ec351921bd5da81b2e78287a56f9a3dead3562f
[debugger] Crash when debugging iOS application that throws (mono/mono#16958)

* Doing the same fix from Android to IOS.
* On mini-exceptions.c check if there is no ji we can continue and generate the exception without checking wrapper_type.

Fixes mono/mono#16824

Commit migrated from https://github.com/mono/mono/commit/1a277c31a095a1b5b8212ed6c0425fad7bb4a42b
src/mono/mono/mini/debugger-engine.c
src/mono/mono/mini/mini-exceptions.c