the hangs where caused by missing NX bits on the mmio mappings, so the debug code is not needed anymore.