当我尝试调试HelloWorld C ++应用程序时,出现以下错误。 HelloWorld的调试配置中指定的gdb
看起来是正确的。什么了?
Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Unable to find Mach task port for process-id 43655: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(8))
Unable to find Mach task port for process-id 43655: (os/kern) failure (0x5).\n (please check gdb is codesigned - see taskgated(8))