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.

Question about setting the breakpoint

Hello:

 

I followed the TI trainning website of using the CCS.  It is the youtube video lecture.  This lecture helped me how to pinpoint a variable and set the breakpoint of this variable.  Then I hit the "run" from the debug console and this variable can change one-by-one if I hit the run again and again.

 

However, I cannot realize this one-by-one debugging because I cannot find the "watchpoint" choice in my CCSv5.

 

I can let you see the snapshot of the video lecture I saw:

 

You see, the tutor in youtube video let me hit Watchpoint if I right-click the variable from the "Breakpoint" view.

 

But I cannot find the Watchpoint there!

 

Could you please tell me how to realize the step-by-step tracing of the variable at CCSv5?

 

this is my snapshot of my CCS:

 

Thanks a lot

  • Hi,
    However, I cannot realize this one-by-one debugging because I cannot find the "watchpoint" choice in my CCSv5.


    You can add the same window by going to CCS -> Window -> Show View -> Breakpoints/Watchpoints

    Regards,
    Gautam
  • Yu Zhang39 said:

    You see, the tutor in youtube video let me hit Watchpoint if I right-click the variable from the "Breakpoint" view.

    But I cannot find the Watchpoint there!

    Which device are you working with? The emulation features vary by device so it may be that the device you are working with supports a smaller number of triggers hence does not support watchpoints. Please refer to this training module and this app note for more information.