use strace to find plugin issues?
-
This KB article at Media Temple suggests using strace to find problem plugins, by running this command from the WP root directory:
strace php5 index.php 2>&1 | perl -ne 'if (/plugins\/([\w\d-_]*)/ ) { print "$1\n" }' | sort | uniq -c | sort -n
I haven’t been able to get it to work, and MT suggests that it might be that “index.php” isn’t right (but that’s all the further their support can go), and that perhaps something in the WP has changed and this command is no longer right.
I’m not able to find anything in Google searches about using strace in this way. Has anyone done this, and more importantly, is it helpful info? If anyone has a tweak to the command that would help, I’m interested.
- The topic ‘use strace to find plugin issues?’ is closed to new replies.