debug 应该是用 gdb,以前学操作系统的时候用来 debug 过 c 语言程序