完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
当我通过代码前进,并尝试调用其他文件(除Meal.C以外)的函数时,它会进入ASM代码,而不是C代码中所写的C代码文件。
但是,我可以步进写在同一文件中的函数,从中调用它们。 这是令人悲伤的,因为你失去了正在发生的事情。大多数项目都涉及多个文件的代码,所以在创建者中调试它们几乎是不可能的。我做错了什么?请指引我。 PSOC岩石 当做, 克曼卡德 以上来自于百度翻译 以下为原文 When I'm stepping though code,and try to step into a call to a function thats in some other file(other than main.c),it goes into ASM code,rather than the C code as written in that other C file. However,I can stepping into functions written in the same file from which they are called works as expected. This is sad when it happens,since you lose track of whats happening.Most projects do involve code from multiple files,and so debugging them in Creator is next to impossible.What am I doing wrong? Please guide me. PSoC Rocks, Regards, kmmankad |
|
相关推荐
1个回答
|
|
|
据我所知,控制进入执行代码,然后通过步骤(F11)将带你到汇编代码。你总是可以在一个实现器函数中设置一个断点(在主体.c外),然后再跳过。
以上来自于百度翻译 以下为原文 As far as I know, the control does go into the implementaed code and then furthur step through(F11) will take you to the assembly code. You can always put a breakpoint in a implementer function (outside main.c) and then step over. |
|
|
|
|
只有小组成员才能发言,加入小组>>
786个成员聚集在这个小组
加入小组cyUSB3014一直显示2.1,不能到3.0情况,谁遇到过
7088 浏览 0 评论
2474 浏览 1 评论
2166 浏览 1 评论
4031 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
2073 浏览 6 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
7566浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
6114浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
742浏览 2评论
710浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
7962浏览 2评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 06:27 , Processed in 0.642074 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
442