breakpoint on every access of a class in PHPStorm

Hello,

how can I see every access/usage of a class when using xdebug and PHPStorm? The only way I've found is to make a breakpoint on every single line, which is annoying.

Thank you for helping.

0
5 comments

Not sure if that's possible or if I'm following you. Could you please describe your use case in details?

0
Avatar
Permanently deleted user

I have a class I want to analyse when and how it is used in a framework. So I want to see every usage of it when process goes into that class.

0
Avatar
Permanently deleted user

But that is only a part. I also want see every usage of methods too and it should break then.

0

It seems that currently there's no way.
Conditional breakpoints are still breakpoints, and exception breakpoints imply class modification.
Please submit a feature request: https://youtrack.jetbrains.com/newIssue?project=WI

0

Please sign in to leave a comment.