[wasm] Continue loading app even when `.pdb` files are not found (#17266)
commit44e99c5eec3b7302c074ca1153e1d7fe9bd84497
authorKenneth Pouncey <kjpou@pt.lu>
Mon, 14 Oct 2019 17:10:43 +0000 (14 19:10 +0200)
committerLarry Ewing <lewing@microsoft.com>
Mon, 14 Oct 2019 17:10:43 +0000 (14 12:10 -0500)
tree1074661be2a62ccd645e9b7f26bc76c2c4a1793f
parentdcb522d18145c14d503ad818b416a0c9f63ca759
[wasm] Continue loading app even when `.pdb` files are not found (#17266)

* This adds the ability to continue loading the application even though the .pdb files are not found.

When uploading an app built with mono-wasm the `.pdb` may not get committed so they will not exist when trying to load them.

- Add new boolean variable to MONO library support to control skipping these files on errors.
- `mono_wasm_ignore_pdb_load_errors` default is true

- Modify the assembly file fetching routine `mono_load_runtime_and_bcl` within our MONO module.
- Allows skipping the .pdb files if the `mono_wasm_ignore_pdb_load_errors` flag is true.
sdks/wasm/src/library_mono.js