debug: Checkpoint which somewhat works with OpenOCD v13, but still has some bugs.