简体   繁体   English

Mac C / C ++ Eclipse调试器挂起

[英]Mac C/C++ Eclipse Debugger hangs

When I try to use the debugger on a simple test project the console dumps out the following: 当我尝试在简单的测试项目上使用调试器时,控制台会转储以下内容:

warning: `/var/folders/s1/dxx9glzn45j6x2ypzk9xkjnc0000gp/T/Test-0061ba.o': can't open to read symbols: No such file or directory. 警告:`/var/folders/s1/dxx9glzn45j6x2ypzk9xkjnc0000gp/T/Test-0061ba.o':无法打开以读取符号:没有此类文件或目录。 $1 = 0xff The target endianness is set automatically (currently little endian) No symbol table is loaded. $ 1 = 0xff目标字节序自动设置(当前为小字节序)没有加载符号表。 Use the "file" command. 使用“文件”命令。

Launching the debugger gets 99% complete and gets stuck! 启动调试器将完成99%并卡住! It just hangs there for awhile and when I try to terminate the connection nothing happens. 它只是挂了一段时间,当我尝试终止连接时什么也没发生。 Then when I go to shut down eclipse I usually have to force quit it :( Anyone have any ideas? 然后,当我要关闭日食时,我通常不得不强制退出日食:(任何人有任何想法吗?

I fixed this issue by correcting the gdb-cert. 我通过更正gdb-cert解决了此问题。 Make sure you select code signing "Always trust" 确保选择代码签名“始终信任”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM