作者EEmuse2 (忘了密码)
看板EE_DSnP
标题[问题] ddd
时间Fri Jan 12 22:06:43 2007
不好意思
对於DDD有点小问题麻烦大家...
我将test.cpp做成执行档test後
打入ddd test在ddd内出现
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) file /home/B92/b2901068/bdd/src/bdd/test/test
(no debugging symbols found)
(gdb) run
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
我的程式是crash在BddNodeInt::decRefCount() 的记忆体错误
这是我为一知道的
但我要如何跟之前的code一样打开 test.cpp的code?
现在想追为何crash of ./test...
谢谢!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.121.203.115
1F:→ EEmuse2:ok了 要删掉多余的.o档... 01/12 22:13
2F:→ EEmuse2:阿 还是不能 trace code..? 01/12 22:27
3F:推 ric2k1:try "ddd ./test"; your default "test" maybe sth else. 01/12 23:14
4F:→ ric2k1:do "which test"... 01/12 23:14
5F:推 ric2k1:Another possibility is you didn't use "-g" for g++ 01/12 23:21
6F:→ ric2k1:Try "g++ -o test -g test.cpp" 01/12 23:22