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

Improvements to callback and stack trace frame function analysis #746

Draft
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

johnbillion
Copy link
Owner

@johnbillion johnbillion commented Mar 11, 2023

Various improvements to the handling of callbacks (which may or may not be a valid callable) and stack trace frame functions. Currently these are handled the same way, but they're not the same thing so shouldn't be.

Aims

  • Introduce distinct handling for different types of stack traces, stack trace frames, and callback instances
  • Deprecate QM_Backtrace in favour of a new stack trace collector which uses less memory
  • Make a distinction between classes which should be ignores in the stack trace and database driver classes, the latter of which should remain in the stack but should not be taken into consideration when determining the caller

Traces and callbacks

  • Hook callbacks
  • Block render callbacks
  • Fatal error stack trace frames
  • Call stack trace frames

@johnbillion johnbillion added this to the 3.12.0 milestone Mar 11, 2023
@johnbillion johnbillion removed this from the 3.12.0 milestone Mar 14, 2023
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.

None yet

1 participant