Agile Alliance model

Ward Cunningham, one of the authors of the Agile Manifesto, once said that some problems with code are like financial debt. What precisely is Technical Debt? How do I measure it in my code base? How do I make informed decisions on when and how to address it? Are there other types of software debt to take into account?