当前位置:网站首页>TRACE32——C源码关联
TRACE32——C源码关联
2022-07-31 14:50:00 【Rainmicro】
TRACE32——C源码关联
调试时,大部分场景我们都需要基于C源码进行调试。
TRACE32会从ELF文件中的符号表获取相应的源文件路径信息,然后从当前的PC机上尝试查找这些源文件。
但通常由于编译环境和调试环境的目录结构有差异,会导致TRACE32不能自动关联出正确的C源码,这个时候就需要手动做一下匹配。
这种情况,在*Symbol.SPATH.List* 窗口
直接点击**+Add Dir…**
然后添加相应的源码目录就可以了。
添加目录后的效果如下:
可以看到场景2中,目录结构比较复杂,但调试环境和编译环境的目录结构几乎一致,这种情况,我们只需要使用命令:
Symbol.SourcePATH.Translate “\compile\path” “D:\debug\path”
把不相同的部分替换下就可以了。
边栏推荐
- Uniapp WeChat small application reference standard components
- c语言hello world代码(代码编程入门)
- OpenShift 4 - 定制 RHACS 安全策略,阻断生产集群使用高风险 Registry
- "Listen to me, thank you" can be said in ancient poetry?Tsinghua University has developed an artifact of "Searching Sentences According to Meaning", which can search for the famous sayings you want wi
- DeepLab系列学习
- 2021 OWASP TOP 10 漏洞指南
- NC | 斯坦福申小涛等开发数据可重复分析计算框架TidyMass
- OAuth2:微服务权限校验Session共享
- 微服务架构选型
- Getting started with UnityShader (3) - Unity's Shader
猜你喜欢
2021 OWASP TOP 10 漏洞指南
"Listen to me, thank you" can be said in ancient poetry?Tsinghua University has developed an artifact of "Searching Sentences According to Meaning", which can search for the famous sayings you want wi
为什么要分库分表?
LeetCode二叉树系列——226.翻转二叉树
深入浅出边缘云 | 4. 生命周期管理
Redis与分布式:集群搭建
Combination series - there are combinations when there are arrangements
Description of Hikvision camera streaming RTSP address rules
Resnet&API
Spark学习(2)-Spark环境搭建-Local
随机推荐
使用 PyTorch 检测眼部疾病
梅克尔工作室-第一次
NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
sentinel与nacos持久化
MySql总结
Web自动化实战——Selenium4(自动化测试环境的搭建)
Introductory UnityShader learning (2) - the rendering pipeline
OpenShift 4 - 用 Operator 部署 Redis 集群
ML、DL、CV常见的问题整理
公告
大健云仓冲刺美股:增营收反减利润 京东与DCM是股东
蔚来杯2022牛客暑期多校训练营4
ERROR: Failed building wheel for osgeo
R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(legend、修改可视化图像的图例在整图中的位置)
Sentinel服务熔断和降级
Analysis of the startup source code of hyperf (2) - how the request reaches the controller
In the future, the interviewer asks you why it is not recommended to use Select *, please answer him out loud!
svn安装及使用(身体功能手册)
Tortoise speed by "template"
自适应控制——仿真实验二 用Narendra方案设计模型参考自适应系统