Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added panel sorter #565

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

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 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
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