This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

用CCS6调试28035时总出现Can't find a source file at "IQNcos.asm" Locate the file or edit the source lookup path to include its location.

用CCS6调试28035时总出现

Can't find a source file at "IQNcos.asm"
Locate the file or edit the source lookup path to include its location.

请问这是什么原因,如何解决呢?是IQmath使用方法不正确吗?

  • 请问是单步调试才出现的吧,Can't find a source file在调试的时候也经常出现,通常是工程中未加源码不能定位到相应的源文件,警告中的函数是IQmath库里的,没有源码,你是看不到的,不影响调试,可以忽略掉。

  • 好的,谢谢

  • 你好,我目前也遇到了类似问题,但是单步调试时没能够忽略掉,因为程序运行到此处就卡住了,找不到源文件......。所以我想有没有什么办法既能够让单步调试运行该程序,又不会报错呢?希望专家指点一下。

  • 目前已经解决了。不用单步调试,因为单步调试肯定找不到这个文件,改文件已经被封装到lib中了。在debug时,不会报错,程序会运行下去。我上一个回复说卡住了是因为我自己程序设了一个很长的延时,导致我误以为出了问题,然后就单步调试,就出现了could not find a source file......。