keil c51 不能使用:Go to Definition of....的解決方法

keil c51 不能使用:Go to Definition of....的解決方法

      最近使用keil c51 開發usb固件,當向vc一樣使用Go to Definition of....時,出現警告對話框:

                               no browse information available in'工程目錄'

                              check-[target-options][output][browse information] then rebuild the target!

查了一些資料,原因大概有二:

1、代碼中嵌有彙編,彙編代碼去掉後能查看。

2、選中target1,然後點擊右鍵,選擇 option for target 'target1' ,在彈出的對話框中選擇output選項卡,看Browse information 選項有沒有勾選,如果沒有,請勾選,然後把你的工程rebuild 一次。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章