当前位置:网站首页>TRACE32 - SNOOPer-based variable logging
TRACE32 - SNOOPer-based variable logging
2022-07-31 14:57:00 【Rainmicro】
TRACE32 - SNOOPer-based variable logging
In our daily debugging work, we often encounter a scenario: for some variables or memory values, we want to monitor them.
When these variables are written or read, these operations are recorded for subsequent statistical analysis or chart drawing.
In order to achieve the above functions, we can use the SNOOPer function provided by TRACE32.
The implementation of this function only requires the debug module of TRACE32, without any additional trace module.
SNOOPer function can record the changes of variables in real time during program execution, and has little effect on the normal execution of the program.
Let's take a look at how to configure this function in TRACE32:
Select "Trace" from the TRACE32 menu bar,
Then select "Configuration",
Select SNOOPer as the tracking method.
The "SELect" field allows you to enter the address directly,
Or with the help of the select... button, the name of the variable to be recorded can be selected by mouse operation.
With the "i" symbol database, we will choose the variable plot1 as an example.
Then click the Go button to start the program.
The progress bar of the Trace window will continue to increase, indicating that SNOOPer is continuously collecting data.
After collecting for a period of time, you can click the Break button to stop the CPU.
Then click the List button in the Trace window to see the recorded data and time and other information.
In the upper window, click the Draw button,
The recorded variable values can be displayed graphically.
Of course, the values of multiple variables can also be recorded at the same time (up to 16 can be recorded).
In addition, the SNOOPer function can record other information, the most commonly used is the PC (Program Counter).
边栏推荐
猜你喜欢
消息队列消息数据存储MySQL表设计
UnityShader入门学习(二)——渲染流水线
The JVM a class loader
Jmeter常用的十大组件
Combination series - there are combinations when there are arrangements
The 232-layer 3D flash memory chip is here: the single-chip capacity is 2TB, and the transmission speed is increased by 50%
Motion capture system for end-positioning control of flexible manipulators
公告
使用 Chainlink Keepers 实现智能合约函数的自动化执行
Node实现数据加密
随机推荐
OpenShift 4 - 用 Operator 部署 Redis 集群
Use of el-tooltip
Sentinel流量控制
Groupid(artifact id)
搭建私有的的Nuget包服务器教程
The magic of SQL MERGE statement (detailed instructions)
ASP.NET Core 产生连续 Guid
四象限时间管理有多好用?
abaqus find contact pairs报错:surface name is already in use
R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化箱图、使用font函数自定义图例标题文本(legend.title)字体的大小、颜色、样式(粗体、斜体)
NC | 中国农大草业学院杨高文组揭示发现多因子干扰会降低土壤微生物多样性的积极效应...
435. 无重叠区间
MySQL [subquery]
charles进行弱网测试(app弱网测试怎么做)
UnityShader入门学习(三)——Unity的Shader
Sentinel安装与部署
Web自动化实战——Selenium4(自动化测试环境的搭建)
Detailed guide to compare two tables using natural full join in SQL
OAuth2:搭建授权服务器
[QNX Hypervisor 2.2 User Manual] 9.13 rom