My debugger class
Results 1 to 3 of 3

Thread: My debugger class

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    1

    My debugger class

    Hello,

    This is my first shot at design of debugger class. It is designed to let me:
    • watch variables
    • benchmark a function or method
    • check time & memory consumption for (part of) code
    • show information about script and PHP (eg. list of classes, functions, traits or PHP settings)
    • export all information about PHP script to file


    This code i publish under the terms of GPL v3: http://wklej.org/hash/3d391c3ecea/ Unfortunately it is too long to attach it to this post.
    Please take a look at this code and let me know what problems do you see. I would appreciate any comments and constructive criticism.

  2. #2
    Senior Member
    Join Date
    Apr 2003
    Location
    Silver Lake
    Posts
    4,901
    You might have more luck if you were to post the code here on the forum -- our link to a more widely known site than "wklej.org", whatever the heck that is.
    IMPORTANT: STOP using the mysql extension. Use mysqli or pdo instead.
    World War One happened 100 years ago. Visit Old Grey Horror for the agony and irony.

  3. #3
    Senior Member traq's Avatar
    Join Date
    Jun 2011
    Location
    so.Cal
    Posts
    949
    maybe a demo, or some example usage, as well? a description besides the docblocks?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •