You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何设置Trace32执行COVerage.ADD后不中断并自动执行后续CMM脚本

How to Automate Trace32 CMM Script Execution After COVerage.ADD

Hey there! I’ve dealt with this exact Trace32 quirk before—nothing’s more frustrating than having a script hang waiting for a manual "continue" click after a coverage command. Here are two solid ways to fix it:

Solution 1: Global Auto-Continue for Entire Script

If you don’t need any manual intervention throughout your script, add this line at the very start of your CMM file:

SCRIPT.AUTOCONTINUE ON

This tells Trace32 to skip all automatic script pauses (including the one triggered by COVerage.ADD) and keep executing subsequent commands without user input. It’s a one-and-done fix for fully automated workflows.

Solution 2: Disable Pause Only for COVerage.ADD

If you want to keep pauses enabled for other parts of your script but bypass it just for the coverage step, use the /NOBREAK parameter with the COVerage.ADD command:

COVerage.ADD /NOBREAK

This parameter overrides the default pause behavior specifically for this coverage database update, letting your script proceed immediately to the next line.

Quick Notes

  • If you use the global SCRIPT.AUTOCONTINUE ON setting and later need a manual pause (e.g., to inspect a breakpoint), you can temporarily disable it with SCRIPT.AUTOCONTINUE OFF, then re-enable it when you’re ready to automate again.
  • Make sure your Trace32 version supports these parameters—all recent releases do, but if you’re on an ancient build, you might need to update your toolchain.

内容的提问来源于stack exchange,提问作者Thảo M. Hoàng

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.07 21:58:12