mcu-debug / peripheral-viewer

Standalone Peripheral(SVD) Viewer extension extracted from cortex-debug, now works with any debugger
MIT License
10 stars 5 forks source link

Guard against activation crashes #9

Closed thegecko closed 1 year ago

thegecko commented 1 year ago

In Theia-based applications some extension checks and activations can throw errors which stop this extension from working.

This PR adds some try..catch guards around the extension activations to prevent errors from interfering with the operation.

thegecko commented 1 year ago

@haneefdm

haneefdm commented 1 year ago

Thanks