RFQ/BOM 0 Anmelden / Registrieren

Wähle deinen Standort

Benutzerbild

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

Hardware design
Dezember 02, 2020 by Darryl 343

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!

Alle Kommentare

user image

Margot Veröffentlicht am December 2, 2020

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

0
  • Darryl

    Darryl Veröffentlicht am 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.

  • Sie müssen sich anmelden, um antworten zu können. Anmelden | Registrieren

user image

Joan Veröffentlicht am December 2, 2020

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

0
user image

Royal Veröffentlicht am 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 Veröffentlicht am December 2, 2020

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

0

Schreiben Sie eine Antwort

Sie müssen sich anmelden, um antworten zu können. Anmelden | Registrieren