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 一次。