Open sthomen opened 8 years ago
Not sure what's going on, I see $this
without problems.
I'll leave the issue open, it might pop up for me in the future.
What OS are you using?
I was using windows against php running in xampp. Just made a small test program and lo and behold there it is. It's been so long that I can't recall what I was debugging at the time, so I'm afraid this kind of peters out here.
No worries, even just knowing that it's on Windows helps. I'll look into it more.
Thank you for taking the time to report the bug!
Seems to be working fine.
Please reopen the issue with more details if you run into this again.
So I just saw this again, debugging a Prestashop (1.6.1.0.1) on a windows 2012 R2 server via RDP (don't ask, work) Only occasionally would I have $this in the list, and never when I needed it.
PHP/xdebug runs on that same server with IIS 8.5, nothing special in the configuration as far as I know. I am not in control of this server so I can't really say much more. PHPStorm debugs just fine which indicates that the problem isn't in the environment.
A small test program on the same server showed the same symptoms. Then after a bit I restarted the debug of the test program (stop listening, start listening, reload page) and it got $this.
A thing I noticed was that I had to click "Run" or "Over" once in order for the debugging to begin at all when it was exhibiting the problem, but this may not be consistently true.
Is pugdebug not able to do object oriented debugging or am I just holding it wrong? I don't seem to see the $this variable.