benilla-re systems structs docs

s_debugstackElision

global · ui

Address
0x872cb4 · 5 bytes, up to 0x872cb8
Type
char[5]
Meaning
Holds ... and a newline, the line debugstack writes for elided levels
Confidence
verified, proof two
Finding
ui/luastate#debugstacks-lines

Finding: debugstack's lines in ui: the Lua state, its library and C functions

A line is short_src, :, the current line and : when above 0, the description and a newline. The description is in function `name' when the name kind begins with f, g, l or m; else in main chunk for a main chunk, ? for a C function or a tail call, and in function <short_src:linedefined> otherwise. Levels start to start + head − 1 print. At a later level L, when level L + 1 + tail exists, ... and a newline replace the levels before the last tail; otherwise every level prints, so up to head + tail + 1 levels print whole.

The derivation is in the doc.