Page 1 of 1

Exception put to file log

Posted: Mon Feb 21, 2022 8:00 am
by cz8pru
Hi,

I would like to know, if it is possible to save no managed Python exception message to file in Flash.

I have a system, which was running on device more than 7 days and after that, it got stuck. I would like to know, what was the reason.

Due to the fact, that it happen too rarely I need some debug tool to get more information...

Other possibility is to add to my device other device, which can log terminal UART communication to SD card, but this is not so cool ;)

Thanks for ideas and help

P

Re: Exception put to file log

Posted: Mon Feb 21, 2022 11:15 pm
by KJM

Re: Exception put to file log

Posted: Tue Feb 22, 2022 3:52 am
by shaoziyang
Please note that file writing speed is very slow, which may affect other tasks. It needs to be carefully scheduled.