Post #2753900
2026-03-19 13:52 UTC
@ole@chaos.social It looks like this is what the @DebugDescription macro ends up adding, which is pretty neat when I can get it to work correctly...
Replies (1)
-
@ole@chaos.social 2026-03-19 15:28
@gfoster@hachyderm.io I had forgotten about @DebugDescription, thanks a lot for calling it out! In my quick test, it looks like @DebugDescription emits a @section(".lldbsummaries"), which contains a sort of format string. So it’s subtly different than the @section(".lldbformatters") generated by the PR I linked to, which is presumably more flexible as it contains actual code the debugger executes. But most types probably don’t need that flexibility.