How does Thonny capture ESP8266 errors?

3 views
Skip to first unread message

Manish Gupta

unread,
Aug 29, 2025, 3:05:07 AMAug 29
to thonny

Hi everyone,

I’m building a web-based block IDE for ESP8266, and I’m trying to understand how Thonny handles errors.

When my ESP8266 has issues , I can’t initialize the reader/writer on the serial port, so I can’t connect or dump new code. But in Thonny, errors show up clearly and it still recovers.

My question is: how does Thonny read/capture errors from ESP8266?

If anyone can point me to the part of Thonny’s code that handles this, that would really help.
Thanks,
Manish Gupta

Reply all
Reply to author
Forward
0 new messages