The text becomes grayed out because of the Unreachable statements. You can find more details on how the debugger works here.
In general, the Gray out blocks of code that are predicted to be unreachable option may be disabled in the Settings | PHP | Debug menu to avoid the issue.
However, I would like to check it further. So, could you provide me with the code sample where the code becomes grayed out unexpectedly? Please attach the file in question.
Glad to hear that disabling the Gray out blocks of code helped. However, if it is not an option for some reason, please submit a request on YouTrack with the short issue description, a code sample, or a minimal reproducible project.
this specific location it happens each time, but its about 10 levels deep in a code stack. I don't have a simple piece of code unfortunately. Now with the setting disabled I'll likely not come across it again.
Hi Michael,
The text becomes grayed out because of the Unreachable statements. You can find more details on how the debugger works here.
In general, the Gray out blocks of code that are predicted to be unreachable option may be disabled in the Settings | PHP | Debug menu to avoid the issue.
However, I would like to check it further. So, could you provide me with the code sample where the code becomes grayed out unexpectedly? Please attach the file in question.
but its not unreachable. Its where the debugger is currently stopped on. You can see the value to the right of it. The value is $pid: “20111”.
If I continue stepping for a few more lines sometimes the highlighting comes back on again.
Take a look at the last 2 screenshots. The code is just a list, then 2 variable assignments. There's nothing that could block it in that flow.
Thanks for the link, if its turn-off-able then that works too.
--edit--
Thanks:
Hi Michael,
Glad to hear that disabling the Gray out blocks of code helped.
However, if it is not an option for some reason, please submit a request on YouTrack with the short issue description, a code sample, or a minimal reproducible project.
this specific location it happens each time, but its about 10 levels deep in a code stack. I don't have a simple piece of code unfortunately. Now with the setting disabled I'll likely not come across it again.
If I do I will let you know how to fire it.
Thanks for the help.