Left for archival purposes.

User avatar
By cal
#12950 Hi,

thank you for that hard work you put into nodemcu!
Would it be possible to
1. add a switch so that unneeded PANICs are caught on main loop level (like accessing nil)
2. Output the stacktrace of the error like http://stm32f4.web.fc2.com/elua.html

> sin(0)
stdin:1: attempt to call global 'sin' (a nil value)
stack traceback:
stdin:1: in main chunk
[C]: ?

This would allow to find errors more easily.

Thanks,
Carsten