Error: 没有那个文件或目录 During startup program exited with code 127.

问题

使用gdb调试程序并在运行程序时,出现Error: 没有那个文件或目录During startup program exited with code 127.

解决方案

切换到超级管理员调试程序