Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Federico Andrioli

    (@fedeandri)

    Hi Thomas, thanks for the feedback, that’s probably due to the ability to debug AJAX calls that I added in this 1.2 version.
    In order to be able to debug AJAX calls in realtime (without the need to manually refresh the page), BugFu uses polling and does one call to the server every 300 milliseconds.

    I couldn’t think of a better way to achieve this, but I’ll look into it to see if there’s a better way to get to the same result (worse case I’ll add an option to turn this feature on and off).

    If you have any suggestion in this regard, please feel free to drop me a line here 🙂

    In the meanwhile here are some temporary fixes for you:
    – use the previous version (1.1) that doesn’t have the AJAX calls debug feature
    – leave BugFu on only for the necessary time to debug your code and then turn it off

    One final recommendation, if possible only use BugFu on your (local) development server.

    Hope this help (until I find a better solution) and thanks again for pointing out this issue, I’ll work on it as soon as possible.

    Thread Starter Thomas Blomberg

    (@thomasdk81)

    I really really like your idea with this plugin.
    I am almost certain, you describe the cause and I don’t have a solution. I get back to you, if I find anything.

    My development setup is:
    – Windows 10 (updated)
    – Xampp (newest)
    – PHP 5.6.x
    – Apache 2.4
    – Chrome
    – WP 4.7 b1

    Plugin Author Federico Andrioli

    (@fedeandri)

    Hey Thomas, thanks for the info, I might have fixed it (at least it works for me now, there’s no more CPU overhead when BugFu is active), can you please test this updated version?
    https://github.com/fedeandri/bugfu-console-debugger/archive/master.zip

    Please overwrite your BugFu version with this one and then delete your browser’s cache in order to be sure that your using the updated JavaScript file, which is the only one I changed (js/ajax-bugfu-console-debugger.js you can also overwrite only this one, your choice)

    If it also works for you, I’m going to release an updated version here.

    Thanks a lot for your help!

    Plugin Author Federico Andrioli

    (@fedeandri)

    Thomas, I decided to release the updated version (1.2.1) eventually, let me know if it solves the problem for you too (it should), thanks!

    Thread Starter Thomas Blomberg

    (@thomasdk81)

    Great news, I’ll give it a go 🙂

    Thread Starter Thomas Blomberg

    (@thomasdk81)

    Looks promising 🙂 no CPU throttling yet.

    Minor detail:
    ( ! ) Notice: Undefined index: class in *\bugfu-console-debugger\bugfu-console-debugger.php on line 145

    Plugin Author Federico Andrioli

    (@fedeandri)

    Hey Thomas, sorry for being late on this, just fixed that notice issue in version 1.2.2

    I’m closing this topic but feel free to open a new one if you have any more feedback related to bugs or new features you would like to see.

    And, last but not least, if you like BugFu I would really appreciate it if you could rate it here 🙂
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Apache trottles’ is closed to new replies.