Improve Haiku debugging code.