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.

断点设置问题

7cs version:7.4.0.00015

在库文件的源码中设置断点,结果断点每次都会自动设置在当前函数的初始括号位置。希望大神解答。

  • 试试按照下面的方法设置断点。
    Without the source file correlation, the debugger will also be unable to set breakpoints within a library routine from the editor view. For example, if you open a source file that is part of a library and try to set a breakpoint in it from the editor view before making the correlation between the debugger and source file, then the breakpoint will not be enabled. You can still set the breakpoint from the Breakpoints view by specifying the symbol name. Then when the program is halted at the breakpoint, you can click on the "Locate File..." button to tell the debugger where the source files are located. Once the association with the source is made, you should then be able to set future breakpoints from the editor view.

    processors.wiki.ti.com/.../Debug_Handbook_for_CCS