Added block debugging code.