Debug Overlay Design Advice

I would like to have a text area that floats above all screen onto which I can write debug messages as the application runs. I have an application that is crashing only when not connected to the terminal and I need to figure out where it’s actually happening.

Does anyone have a suggestion how to achieve that?

You can create a textarea in SLS and after ui_init() call lv_obj_set_parent(ui_Textarea, lv_layer_top()).

Click here to learn more about LVGL’s built in layers: Layers — LVGL documentation