21 responses to “WP-Debug”

  1. Hi There Chris -
    This looks at a great plug-in… thank you very much. I recently ran into some slow-loading page issues for my Word­Press web­sites and tried a bunch of things to address the issue(s) (see forum post at http://wordpress.org/support/topic/141011).

    I plan to blog about your plu­gin at OpenSourceWebMaster.com. Do you have a dona­tion but­ton for your plu­gin?
    – Scott

  2. Acti­vated ver­sion wp-debug 1.0 on WP2.3.1, and get the fol­low­ing error at the bot­tom of pages.

    Fatal error: Call to unde­fined func­tion: getall­head­ers() in /wp-content/plugins/wp-debug/krumo/class.krumo.php on line 260

    Still dig­ging into it, but curi­ous if you have heard of oth­ers run­ning into this.

  3. Com­ment­ing out line 26 worked. What func­tion­al­ity am I miss­ing with it removed?

  4. I am glad that you took my lit­tle project Krumo to such good use!

  5. Hi Chris,

    thanks for the great plu­gin. I was always look­ing for such struc­tured infor­ma­tion for debug­ging purposes.

    I did some mod­i­fi­ca­tions to the plu­gin code and also to the krumo class itself. If you are inter­ested in this code, I would be happy to share this.

    I did the fol­low­ing changes:
    – Krumo out­put is now also dis­played on the admin pages of Word­Press
    – A devel­oper can call the debug func­tions itself. In this case it is assumed that she would like only to see the requested infor­ma­tion. The pre­de­fined bunch of krumo calls are skipped in this case
    – If a devel­oper calls the debug func­tion itself, the out­put will also go to the footer of the page
    – Kru­mos recur­sion detec­tion wasn’t acu­tally a recur­sion detec­tion but a ref­er­ence detec­tion. This lead to more recur­sion warn­ings as necessary

  6. Hello Chris,

    I am look­ing for a way to do debug out­put dur­ing ajax calls. Would your plu­gin allow that?

  7. Thanks Chris

    Do you know of a way to call firebug’s console.log from a php function?

  8. I am puz­zling with idea to make a debug plu­gin that will allow real time debug­ing from anywhere.

    you would open a new browser win­dow and point it to a debug server which will receive infor­ma­tion from your plu­gin or what­ever in real­time. Have time for that? :)

  9. Hi, I acci­den­tally installed this on my PHP4 host­ing ser­vice and found noth­ing in my WP install worked. All fail­ing look­ing for the debug_print_backtrace() func­tion. In your btev.php mod­ule you call this twice, but you only check for it’s exis­tence in the first one. Fix­ing it was a sim­ple mat­ter of copy­ing the code block from the first call (lines 1054–1065) over the sec­ond call (from line 1108).

  10. My apolo­gies, it’s in btev.php which is part of the blue­trait event viewer plu­gin, not yours.

  11. Run­ning Word­Press 2.9.2, I down­loaded, uploaded and acti­vated and noth­ing shows up… any­where. I checked the page source, I checked the footer and noth­ing is show­ing, not even an error.

Leave a Reply