Skip to content

Simplify backtrace rendering in widget.js#1051

Merged
barryvdh merged 2 commits intophp-debugbar:masterfrom
erikn69:patch-85
Apr 7, 2026
Merged

Simplify backtrace rendering in widget.js#1051
barryvdh merged 2 commits intophp-debugbar:masterfrom
erikn69:patch-85

Conversation

@erikn69
Copy link
Copy Markdown
Contributor

@erikn69 erikn69 commented Apr 7, 2026

Fix missing tr.append(valueTd); bug, now it works with default backtrace
The index is used to determine that trace steps may have been excluded.

image

@erikn69
Copy link
Copy Markdown
Contributor Author

erikn69 commented Apr 7, 2026

Support editor link on backtraces added (Having it doesn't affect performance if the PR on this isn't accepted.)

if (value.xdebug_link?.url) {
    const link = PhpDebugBar.Widgets.editorLink(value.xdebug_link);
    valueTd.append(link.querySelector('a'));
}
image

@barryvdh barryvdh merged commit 0bc6183 into php-debugbar:master Apr 7, 2026
21 checks passed
@erikn69 erikn69 deleted the patch-85 branch May 7, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants