Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5043

SDK • Re: Panic function

$
0
0
Not sure whether you should mix Lua panic together with C SDK panic. The former is more like a subsystem panic which should not stomp around and destroy everything; other subsystems can keep running and display stuff. C SDK panics are I think more serious, though you can probably still try to output something to display, as long as the board isn't also connected to a nuclear-tipped missile. :D :D :D

Might be useful to see where Lua panics. Likely memory or stack related, e.g. when it tries to compile a script which deliberately hits parser limits, which makes it more of a subsystem crash.

Statistics: Posted by katak255 — Tue Jan 14, 2025 1:59 am



Viewing all articles
Browse latest Browse all 5043

Trending Articles