Debugging code has always been a tricky prospect. Most people use one of two methods: Either include "log" statements to see whats going on while running a routine, and then either delete them, or comment them out when they are done,
(For legacy code, the commenting it out mechanism is often used so that the code is left to uncomment the next time that piece of code is worked on) or you can rely on a "debugger" to trace whats going on, and then look thru the more copious output.
PHP does not really HAVE a good debugger, so most PHP developers are left to write output statements.
Remembering WHERE those debug statements are so your log files don't fill up can also be a pain.

The DebugObject class is a "take" on instrumenting your code but it's output can be easily turned on and off for any section of your code. This way you write the debug code you want, and leave it in your codebase, but the object knows when to execute that code, so it generates ONLY the output that you want.

Project Activity

See All Activity >

Categories

Debuggers

License

Creative Commons Attribution License

Follow Debug Object

Debug Object Web Site

Other Useful Business Software
Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. Icon
It protects your internal resources such as behind-the-firewall applications, teams, and devices.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Debug Object!

Additional Project Details

Intended Audience

Developers, Quality Engineers, Architects, Testers

Programming Language

PHP

Related Categories

PHP Debuggers

Registered

2012-10-02