Skip to content

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.

2 participants