Skip to content

Conversation

@patrickkusebauch
Copy link

Added ability to sort panels before rendering. Simply register the sorter in your Booting class (or similar if not using nette)

Debugger::getBar()->replaceSorter(/** your sorting function for `uksort` **/)

By default, no sorting to keep the current functionality.

@dg dg force-pushed the master branch 3 times, most recently from 69cb79a to 209ac30 Compare June 20, 2023 13:41
@dg dg force-pushed the master branch 5 times, most recently from c17700c to 024db76 Compare July 30, 2023 13:57
@dg dg force-pushed the master branch 4 times, most recently from 55d01f2 to 481422e Compare September 26, 2023 04:06
@dg dg force-pushed the master branch 4 times, most recently from 34992a5 to 7e8d83f Compare September 29, 2023 13:25
dg added 9 commits January 4, 2024 15:31
xdebug_get_function_stack() is available only if xdebug.mode=develop is set.
Inside a shutdown handler, it returns the complete callstack only when called from the CLI.
When used in a browser, the callstack is printed out and the function then does not return it.
The callstack output can be disabled using html_errors=0, but the function still won't return it.
…[WIP]

- requires xdebug 3.3 and xdebug.mode=develop
- stores information only for the last 8 exceptions, so we don't want to generate new exceptions during rendering
@dg dg force-pushed the master branch 2 times, most recently from f45d4ff to 32e62ae Compare April 28, 2025 14:36
@dg dg force-pushed the master branch 5 times, most recently from 32f8942 to cea50d6 Compare November 4, 2025 13:29
@dg dg force-pushed the master branch 3 times, most recently from c647740 to 7543389 Compare November 24, 2025 02:46
@dg dg force-pushed the master branch 4 times, most recently from e4c1d65 to 463af6a Compare December 29, 2025 22:28
@dg dg force-pushed the master branch 12 times, most recently from a88ab6a to d5953ee Compare February 10, 2026 23:09
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.

Feature - ability to sort panels

2 participants