Arduino: Enabling exception handling

Created on 2 Jan 2016  Â·  9Comments  Â·  Source: esp8266/Arduino

please consider enabling exception handling, for better developer experience and allowing try { } catch(...) { } which would enhance overall stability and reduce code when developing libraries.

'exception handling disabled, use -fexceptions to enable'

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

core enhancement

Most helpful comment

There is some work about that in https://github.com/d-a-v/esp-quick-toolchain/

All 9 comments

I'm wondering if this will be implemented? I was rather surprised to find out exceptions are disabled.
Is there a specific reason for disabling?

Please look at enabling this. It should be part of the core. Thanks. PS: This is a vote to get it included ASAP! (Just in case that's not clear :) )

I would like to point out that exception handling increases RAM usage. It
may not be appropriate for all use cases, so enabling it is not as simple
as flipping a switch.

On May 6, 2017 1:47 AM, "Smitthhyy" notifications@github.com wrote:

Please look at enabling this. It should be part of the core. Thanks. PS:
This is a vote to get it included ASAP! (Just in case that's not clear :) )

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/esp8266/Arduino/issues/1351#issuecomment-299615616,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQC6BtSuG3Jrtz-gUtxaNhHQrbbg3lGwks5r2_t3gaJpZM4G9jDY
.

is not there any offer, how it is?

Temporarily assigning to @d-a-v to put the issue on the map, per his exception playground.

Any progress on this?

Hi, I'm also very interested on this.

There is some work about that in https://github.com/d-a-v/esp-quick-toolchain/

Exceptions now a menu option, closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mreschka picture mreschka  Â·  3Comments

horendus picture horendus  Â·  3Comments

mechanic98 picture mechanic98  Â·  3Comments

Chagui- picture Chagui-  Â·  3Comments

treii28 picture treii28  Â·  3Comments