Skip to content
This repository has been archived by the owner on Aug 28, 2020. It is now read-only.

pugdebug doesn't see $this #173

Open
sthomen opened this issue Jun 9, 2016 · 6 comments
Open

pugdebug doesn't see $this #173

sthomen opened this issue Jun 9, 2016 · 6 comments

Comments

@sthomen
Copy link

sthomen commented Jun 9, 2016

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.

@robertbasic robertbasic added the bug label Jan 2, 2017
@robertbasic
Copy link
Owner

Not sure what's going on, I see $this without problems.

screenshot_2017-01-02_11-25-44

I'll leave the issue open, it might pop up for me in the future.

@robertbasic
Copy link
Owner

What OS are you using?

@sthomen
Copy link
Author

sthomen commented Jan 2, 2017

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.

@robertbasic
Copy link
Owner

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!

@robertbasic
Copy link
Owner

Seems to be working fine.

screenshot_2017-01-02_17-59-26

Please reopen the issue with more details if you run into this again.

@sthomen
Copy link
Author

sthomen commented Mar 29, 2017

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.

pugbug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants