View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002166 | Xdebug | Step Debugging | public | 2023-03-11 20:18 | 2023-03-11 20:18 |
Reporter | mannycrafts | Assigned To | |||
Priority | none | Severity | minor | Reproducibility | random |
Status | new | Resolution | open | ||
Product Version | 3.1.5 | ||||
Summary | 0002166: Gettype type doesn't match during step debug | ||||
Description | 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. function mc_test($one){ | ||||
Additional Information | Mac M1,, Xdebug running on Homestead Vagrant Box on a Mac M1 | ||||
Tags | cli, vscode | ||||
Operating System | |||||
PHP Version | 8.0.20-8.0.29 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
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 |