Tips

How to Find Stuff

At this weeks Wellington .NET user group, James asked me how I find stuff - when I need to find out how to get something done, how do I find the information I need. Here's what I told him.

Exception Inspection

Watch $exception
Watch $exception

Here's a useful tip that I didn't know - you can use the pseudo-variable $exception in the Watch window to see the exception that's just been caught.

PhpMyAdmin and the White Screen of Death

After a recent hardware failure (*) I've been setting up a new LAMP sandbox, this time using Ubuntu 9.04 running in a virtualised environment.

Everything was going fine, but after importing a database backup into MySQL, PhpMyAdmin started misbehaving, giving a White Screen of Death after login. View source revealed an empty file.

DataBinding Goodness

There's a lot of "goodness" buried in WinForms databinding that doesn't get to see the light of day. Here's one example I discovered just today ...

How not to set up Tests

Some unit tests on a project were newly failing - I'd done the checkin immediately before the first failure, so it fell to me to sort out the problem.

Syndicate content