简体   繁体   中英

Save Live Watch variable in IAR Workbench as LOG file

I don't know if it's possible as the IAR Workbench manual doesn't cite something like that but I would like to generate some sort of LOG from the LIVE Watch variables.

For istance, if I'm live watching var1 I would like to generate a formatted text file like:

16-05-2022 11:51:01 var1 120
16-05-2022 11:51:02 var1 122
16-05-2022 11:51:03 var1 116
16-05-2022 11:51:04 var1 102

Is there a way to do that? Or at least to read this kind of information somewhere so I can write some sort of code in python or something to read the values?

I'm using IAW Workbench 6.5

So it turned out there's no way to actually save the variables as LOG.

The only workaround is to use breakpoints and macros to dump the value but, unfortunately, this is not a solution on my end as the breakpoints need user intervention to start again the code

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM