-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Bug: Long time to debug (with dd) for enum #6429
Comments
Can you give the minimum code (not a screenshot) to reproduce the issue? |
That i update the thread and add my code, that i use enum from my package by composer, you can try create the enum in libraries folder to try it and change the namespace, then the bug is if we debug with dd the enum class, or enum->cases() method its taking long time, sometimes its getting error because the time load is long, maybe its because enum is'n have access scope so the kint library try to looping it much time, but i did'nt really know |
@MrFrost-Nv27 Thank you for update! It seems an issue in Kint. I created an Issue: kint-php/kint#392 |
Ok thanks for the response |
Oke great, thanks |
Kint 4.2.0 was released. If you install CodeIgniter via Composer, |
PHP Version
8.1
CodeIgniter4 Version
4.2.4
CodeIgniter4 Installation Method
Composer (using
codeigniter4/appstarter
)Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Database
MySQL
What happened?
If we debugging with dd for enum, especially enum cases or enum class itself, its taking long time . but if we debug enum's name or value is not long.
Steps to Reproduce
We create an enum
And debug the enum cases
dd(GlobalAttributes::cases());
is taking long time then we get "Maximum execution time" error
Expected Output
Fatal error: Maximum execution time of 120 seconds exceeded in E:\Nova\Latihan\HtmlObject\vendor\kint-php\kint\src\Renderer\RichRenderer.php on line 518
Anything else?
No response
The text was updated successfully, but these errors were encountered: