Andes Workshop
http://forum.andestech.com/

multiple markers at this line
http://forum.andestech.com/viewtopic.php?f=23&t=207
Page 1 of 1

Author:  cindy [ Tue Dec 06, 2011 12:27 pm ]
Post subject:  multiple markers at this line

今天我要debug時,insert breakpoint不成功,訊息如下:
解法只要把project重新compile就可以了。
這是因為breakpoint path是絕對路徑,我從其他電腦把project移過來,
找不到symbol。
Attachment:
markers.gif
markers.gif [ 4.2 KiB | Viewed 7048 times ]


除了重新compile之外,也可以將breakpoint的path改相成對路徑。
如下圖。缺點是不同folder下不能有同名的檔案。
Attachment:
breakpoint.gif
breakpoint.gif [ 10.47 KiB | Viewed 7048 times ]

Author:  cindy [ Tue Dec 20, 2011 3:11 pm ]
Post subject:  Re: multiple markers at this line

另一個可能是因為沒有symbol,
請加上-g或-g3以得到debug info。

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/