Thảo M. Hoàng
Thảo M. Hoàng

Reputation: 1424

Trace32 stopped once adding coverage buffer to coverage database

Refer to PRACTICE Script Language Reference of Trace32 tool:

https://www2.lauterbach.com/pdf/general_ref_c.pdf

Analyzer.Mode Stack
Go sieve
…
COVerage.ADD
; clear trace buffer and use stack mode
; run a part of the application
; process the trace buffer

After "Coverage.ADD" command for adding coverage buffer to coverage database, Trace32 will stop its execution and require a manual action of users. "Stop" meant that Trace32 would break at the next CMM statement and users have to click "Continue" button to go. enter image description here

How to set up Trace32 not stop after "Coverage.ADD" command and execution next statement (*.cmm script)

Upvotes: 0

Views: 153

Answers (1)

Thảo M. Hoàng
Thảo M. Hoàng

Reputation: 1424

PRACTICE Script Language provides ON < EVENT > to catch events raising during script execution.

https://www2.lauterbach.com/pdf/practice_ref.pdf enter image description here

Thus, the below command is very useful in this case.

GLOBALON ERROR CONTINUE // Suppress PBREAK

Upvotes: 1

Related Questions