Forums

Worpress Debugging impossibly slow (3 posts)

  1. Marcel van Duijn
    Member
    Posted 8 months ago #

    Hi,

    I am having troubles debugging WordPress. I use Zend Studio (7.1 Professional Edition) but debugging is tantalizingly slow, while I don't even get through to the backend.

    I developed in Joomla before, using the same development and debugging environment, and that's working just fine.

    Anyone any idea what could cause this?

    Thanks a lot for any help.

    Regards,

    Marcel

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    Can you tell me what's the most efficient and thorough way to debug WP?

    Most people just turn on WP_DEBUG but really, it greatly depends on what you're trying to debug. The 'Whole thing'? A plugin? A theme?

  3. Marcel van Duijn
    Member
    Posted 7 months ago #

    Hello,

    sorry for the late response, but thanks for your answer.

    But what I'm trying to debug... Anything really. I also use a debugger to learn about the nitty gritty details of WP itself. Like tracing the execution stack to learn what code is triggered when, view variable and property values, etc etc.

    I guess the real question is what in WP is causing the issue that you cannot seem to use a debugger properly? Also, this problem does not seem to relate to my PHP development environment (Zend Studio), cause I read posts about other environments having problems as well. Apart from not being able to trace the execution stack etc, another big disadvantage of having to use WP_DEBUG is that you have to actually write (and delete) the specific code that outputs the code you want to check.

    Do you haveany idea what might be causing this debugging issue? And... what PHP and debug environment are the core developers using then?

    Regards,

    Marcel

Reply

You must log in to post.

About this Topic