tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Debugger::barDump() can be temporarily disabled/enabled

Open forgie1 opened this issue 2 years ago • 0 comments

To prevent overcrowded dump, barDump can be temporarily disabled/enabled on demand.

eg:


function one()
{
    ...
    \Tracy\BarDump();
    ...
}

\Tracy\Debugger::$barDumpOn = false;
foreach ($many as $row) {
    one();
}

\Tracy\Debugger::$barDumpOn = true;
one(); // only this needs to be barDumped

forgie1 avatar Feb 15 '23 10:02 forgie1