View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002166||Xdebug||Step Debugging||public||2023-03-11 20:18||2023-05-24 16:09|
|Status||resolved||Resolution||unable to reproduce|
|Summary||0002166: Gettype type doesn't match during step debug|
While step debugging using VSCode, I found some unexpected behavior, and have no idea if Xdebug has anything do wtih this issue,
I'm running a cli script that loads WordPress before running.
The debugger reports the value as 1 (with no quotes) as expected, but it evaluates to 0/NULL at the same time.
For some context, all the checks are performed while execution is paused on in WordPress apply_filters function.
Thanks for any suggestions!
|Steps To Reproduce|
Couldn't reproduce on another machine..
THe issue happened after loading WordPress and then running the blow code block.
Mac M1,, Xdebug running on Homestead Vagrant Box on a Mac M1
Can you reproduce this with a small example? I'm afraid there is nothing in this report that is actionable for me. Please read https://xdebug.org/reporting-bugs as to what sort of information I would require to diagnose and address a potential issue.
This bug is not easy for me to replicate, seems very specific to an environment I don't use anymore.
Thanks for getting back to me. I'll close this then for now.
|2023-03-11 20:18||mannycrafts||New Issue|
|2023-03-11 20:18||mannycrafts||Tag Attached: cli|
|2023-03-11 20:18||mannycrafts||Tag Attached: vscode|
|2023-03-11 20:18||mannycrafts||File Added: xdebug-int-or-null-gettype.jpg|
|2023-04-05 16:05||derick||Assigned To||=> derick|
|2023-04-05 16:05||derick||Status||new => feedback|
|2023-04-05 16:05||derick||Note Added: 0006550|
|2023-04-07 01:49||mannycrafts||Note Added: 0006553|
|2023-04-07 01:49||mannycrafts||Status||feedback => assigned|
|2023-05-24 16:09||derick||Status||assigned => resolved|
|2023-05-24 16:09||derick||Resolution||open => unable to reproduce|
|2023-05-24 16:09||derick||Note Added: 0006563|