Saturday, July 5, 2008

Aw, Crap

Assembla went down for a maintenance update and came back with neat upgrades to their UI and some feature upgrades aswell, and hopefully with some added server power as well. Assembla is now better than ever.

What better way to celebrate the update than with tackling another ticket for LF?! But, lo and behold, my LF installation is totally broken. All I get is a blank page on any page that LF should handle.

How convenient...

Now that I've been meddling with Java for the past three months, I've become very appreciative with how well Eclipse treats Java. Eclipse knows Java inside and out, helps the developer all the way through, has automatic everything and I sometimes wonder why not let just Eclipse code the Java I need. Strongly typed languages have their advantages, no doubt there.

One thing that I've learned to love is the built-in Java debugger. There's no faster way to track down the culprit of unexpected behavior than to place a breakpoint, run the code and step your way through the renegade code, seeing the list and respective values of each and every variable, all the time.

The way I've become accustomed to doing stuff in the PHP world is the good ol' var_dump($foo); die(); -routine. And it works most often just fine, as long as you keep yourself out of recursions and loops. It's then when the method gets ugly.

I can imagine someone already objecting, saying "but there are already several PHP debuggers out there!" It is true, there are at least two of which I've heard and tried: Zend Debugger and XDebug. I've never get them to work with Eclipse. Never. The plugins seem to think they work, but they debug nothing. They output nothing. They do nothing.

So, not knowing where to start debugging this regression, I won't. I had grand plans on getting much done this weekend, but I've lost my appetite. Better luck next weekend, I hope.

No comments: