Have you ever spent time tracking down a problem with your PHP code that causes it to give unexpected results? Have you ever wished for a quick and easy way to visualise exactly what's going on, where and why? Of course you have. I have too. That's why I made dpDebug: a single-file PHP library that 'injects' a handy pop-up list of messages defined by you into any page you like. All you need to do is call the deb() function at each step you want to trace, with a brief description of what's happening and it'll be added to the dpDebug message log. You can even specify message levels (fatal, warning, notice, info, trivial, highlight or custom) and set a verbosity level to choose how much detail you want to see in the log.Hope you like it :)
dpDebug 2
I'm feeling (particularly) lazy today so I'm just going to paste from the dpDebug 2 page:
unrated | read entry | by defproc on August 24th, 2008 | 0 comments
Accident-prone??
Some rotten Mazda-driving git wrote off the lovely 56-reg blue Elise. So they gave me a lovely 08-reg red one! Hooray!
unrated | read entry | by madkat on June 3rd, 2008 | 0 comments
Rotten Golf driving git.
A Golf pulled out in front of me. So I hit it. Then I got a BMW120i courtesy car. And now I have an Elise courtesy car. Nice.
unrated | read entry | by madkat on April 2nd, 2008 | 0 comments
Javascript Particle Engine
That's right. I've went and written something many would consider, probably rightly, to be quite bizarre: a particle engine in Javascript. I haven't as much experience in Javascript as I'd like, so don't expect great quality code, but it does have a few hacked-up optimisations and it runs at a fairly imressive speed considering the platform. I've slapped a GPL license notice in there, so muck about with it all you want, if you can read my god-awful code.
Read on....
Read on....
unrated | read entry | by defproc on February 23rd, 2008 | 1 comment
Pointless C# Code Snippet Of The Week
I was bored.
I thought "I bet you could write some very slick code to turn a decimal into a fraction."
So I did.
I thought "I bet you could write some very slick code to turn a decimal into a fraction."
So I did.
unrated | read entry | by madkat on January 29th, 2008 | 1 comment
loading
