Debug code completion doesn't work

已回答

Hello, can you help me with my issue. I have to install PhpStorm on my Ubuntu 14 virtual machine. I've had one already, but it's Ubuntu 11 and it stopped supporting, so i decided to download new Ubuntu 14. By the way, on Ubuntu 11 PhpShtorm works great. Now i've changed 2 more Ubuntu. I have some Ubuntu pack, but there started appearing glitches. I've tried lates PS version and notices, that in debug mode, when i press Evaluate expression i can't see private\protected members. I remembered that there was such bug in XDebug, so i went to google and found solution. When i got back to IDE, nothing changed. So i downloaded minor versions (7, 8, 9). When i started them and run debug i noticed that now i could see private members, but when i run Evaluate Expression it stopped doing any suggestion. No variables, no default php function, nothing. It just underline my string like error and do nothing. But if i put correct code and press Evaluate - it's does his job. If i close Evaluate Expression and start typing in code editor, it makes suggestion for everything i need. So now i have

2016.2 - code editor - suggest only public members, evaluate expression - makes suggestion, doesn't show private members

7, 8, 9 - code editor - works well, sees private members, evaluate expression - doesn't suggest anything.

OS: clear Ubuntu 14.

Tried with LAMP, LEMP.

jdk\jre 1.7

 

Any ideas guys? Thanks!

0

> Any ideas guys?

Well, currently you just can't use Evaluate Expression/Watches with private/protected members as it's not supported:
https://youtrack.jetbrains.com/issue/WI-9234

Do you see these members in the Variables section of the debug tool window? That's all we can do by now.

0
Avatar
Permanently deleted user

Unfortunately, it's not what i meant. Im talking about code completion in general. Not only private members.

Compare this.

PS 7,8,9:

 

PS 2016.2:

 

If speak about private members in Debug Windows. So there is another bug.

2016.2 - i can't see any private members.

2016.1 - i see private members. Also code completion works. Except private members and any parent protected methods.

0

I was talking about 2016.2, what's not possible there.
As for completion in the Evaluate Expression window, I believe it just hasn't been available prior to v10:
https://blog.jetbrains.com/phpstorm/2015/12/improved-code-completion-during-debugging-in-phpstorm-10/

0
Avatar
Permanently deleted user

Thanks for fast response :) I've not been working with Storm for a long time. It's possible im confused and mixed this functional with Intelij IDEA for Java.

0

请先登录再写评论。