RFQ/BOM 0 登錄 / 註冊

選擇您的位置

用戶形象

Solve why the breakpoint cannot be hit within the function during CCS5.5 simulation?

Hardware design
12月 02, 2020 by Darryl 348

Help!

When a breakpoint is interrupted during simulation, the program can be paused when it reaches the breakpoint position. The problem is that I want to observe the situation after a certain step in a function is executed, but double-click the breakpoint in that line, the breakpoint will all go to the left parenthesis at the beginning of the function There, step over has also been running outside the function, and I have not found the reason for a long time. Does any brother know what is going on? Ask for advice, thank you!

所有評論

user image

Margot 發表於 December 2, 2020

If the conditions are not met, the code cannot run there, so the breakpoint cannot be hit.

0
  • Darryl

    Darryl 發表於 December 2, 2020

    No, the phenomenon that the conditions are not met and can't run should be the breakpoint, but because the program can't run to this place, it won't pause, but the breakpoint position should still be hit and stopped. After I hit the breakpoint, the breakpoint ran, and then the program stopped.

  • 您需要登錄才能回覆。 登錄 | 註冊

user image

Joan 發表於 December 2, 2020

There is a problem with the program, and the simulation should not pass.

0
user image

Royal 發表於 December 2, 2020

It is possible that after macro expansion and compiler optimization, the address corresponding to the breakpoint cannot be found, you can try to turn off the compiler optimization.

0
user image

Elvis 發表於 December 2, 2020

Just change the line, move the position, CCS is sometimes weird, the breakpoint cannot be hit.

0

寫一個答案

您需要登錄才能回覆。 登錄 | 註冊