当前位置:网站首页>TRACE32 - C source code association
TRACE32 - C source code association
2022-07-31 14:57:00 【Rainmicro】
TRACE32——C source code association
When debugging, we need to debug based on C source code in most scenarios.
TRACE32 will obtain the corresponding source file path information from the symbol table in the ELF file, and then try to find these source files from the current PC.
But usually due to the difference in the directory structure of the compilation environment and the debugging environment, TRACE32 cannot automatically associate the correct C source code. At this time, you need to do the matching manually.
In this case, in the *Symbol.SPATH.List* window
Click directly on **+Add Dir…**
Then add the corresponding source directory.
The effect after adding the directory is as follows:
It can be seen that in scenario 2, the directory structure is more complicated, but the directory structure of the debugging environment and the compilation environment are almost the same. In this case, we only need to use the command:
Symbol.SourcePATH.Translate “\compile\path” “D:\debug\path”
Just replace the different parts.
边栏推荐
- 格林美瑞交所IPO:募资3.8亿美元 更多中国企业将赴欧洲上市
- OpenCV测量物体的尺寸技能 get~
- NC | 中国农大草业学院杨高文组揭示发现多因子干扰会降低土壤微生物多样性的积极效应...
- MANIFEST.MF文件(PDB文件)
- 三角恒等变换公式
- [CUDA study notes] First acquaintance with CUDA
- Description of Hikvision camera streaming RTSP address rules
- Prometheus之node_exporter性能监控信息采集含义
- [Pytorch] torch.argmax() usage
- Female service community product design
猜你喜欢
STM32(十)------- SPI通信
OAuth2:使用JWT令牌
Essential Learning for Getting Started with Unity Shader - Transparency Effect
Message queue data storage MySQL table design
RecyclerView的高效使用第一节
搭建私有的的Nuget包服务器教程
自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统
安装Xshell并使用其进行Ymodem协议的串口传输
分成两栏后文字顺序混乱的问题解决【写期刊论文时】
abaqus find contact pairs报错:surface name is already in use
随机推荐
Ubuntu Topic 5: Setting a Static IP Address
安装Xshell并使用其进行Ymodem协议的串口传输
Spark学习(2)-Spark环境搭建-Local
[CUDA study notes] First acquaintance with CUDA
Why do we need to sub-library and sub-table?
《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件
2021 OWASP TOP 10 漏洞指南
/etc/profile、/etc/bashrc、~/.bash_profile、~/.bashrc 文件的作用
Sentinel流量控制
R语言计算时间序列数据的移动平均值(滚动平均值、例如5日均线、10日均线等):使用zoo包中的rollmean函数计算k个周期移动平均值
梅克尔工作室-第一次
ML, DL, CV common problems sorting
MANIFEST.MF文件(PDB文件)
435. 无重叠区间
Sentinel安装与部署
OAuth2:微服务权限校验Session共享
常用工具命令速查表
ERROR: Failed building wheel for osgeo
乡村基冲刺港交所:5个月期内亏2224万 SIG与红杉中国是股东
最小费用最大流问题详解