Issue Task Closed

#105035 Modernize DebuggerUtility::var_dump() rendering

Benjamin Franzke 09/18/24, 20:14 updated 09/30/25, 12:10

Description

Use a `html()` method similar to lit to avoid
string concatenation which has the potentional to
create broken or even insecure markup.

Also escape non printable characters in console
output mode.

Motivation for this change:

A follow up patch will migrate HTML debug-output to use
+ in order to avoid checkbox-hacks
for tree-collapsing and to allow the usage of the
following browser features:
  • links will auto-open nested trees
    (makes workarounds like #105013 unnecessary)
  • browser search can find entries

Reviews 1