How to setup watchpoints to break when access data for target debug

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to setup watchpoints to break when access data for target debug

851 次查看
isaotakashima
Contributor IV

I want to use watchpoints to break when access (read and/or write) data for target board debug.

IAR Systems EWARM supported this feature that "Set Data Breakpoint", KEIL MDK-ARM also supported that "Set access breakpoint".

I found the following description in 4 Known Issues and Workarounds of Kinetis Design Studio 3.2.0 Release Notes.

  • Conditional watchpoints and breakpoints: Conditional breakpoints and watchpoints, including those using ignore counts, do not work always.
    Workaround: do not use conditions for breakpoints and watchpoints, instead check for condition in the code and set a normal breakpoint.

Therefore I believe that KDS does not support watchpoints debugging to break when access (read and/or write) data.

Am I correct?

How about MCUxpresso? Is it support watchpoints debugging?

Please reply as soon as possible.

Best regards,

Takashima

0 项奖励
1 回复

492 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Isao,

You are correct, this is a known issue in KDS, it is recommended to use normal breakpoints instead of conditional breakpoints or watchpoints. Regarding MCUXpresso, those limitations are not present on this IDE.


Hope it helps!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励