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

来源:互联网 发布:游戏美工原画招聘 编辑:程序博客网 时间:2024/05/19 22:00

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


PS: 以上两种解决方法无效,可以关闭keil软件,重新打开keil,打开工程。原因可能是keil的bug.



转自:http://blog.csdn.net/yam_killer/article/details/7673191#reply

阅读全文
0 0