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.

[参考译文] DSS 硬件断点-启用/禁用

Guru**** 2589300 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/972422/dss-hardware-breakpoints---enable-disable

你(们)好

创建断点后、我一直在尝试启用/禁用 DSS 中的断点。 添加断点后、将存储其句柄、我假设会这样做

应遵循以下内容:  

debugSession.breakpoint(handle).setBoolean("enabled",true 或 false)

但我似乎可以获得正确的语法、您能提供帮助吗?

谢谢

Jason

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Jason、

    没有用于禁用/启用断点的显式 DSS API。 这是因为它与添加/删除 API 有些冗余。 当使用 CCS IDE 进行调试时、启用/禁用功能很有用。 禁用断点将从目标中删除断点、但会保留 IDE 中的断点属性、以便在启用断点时轻松重新应用断点。 在自动化环境中、这通常不是问题。

    谢谢

    Ki