- 1、本文档共53页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
嵌入式系统软件开发环境 Tornado 邹昕光 哈尔滨工业大学自动化测控所 联系电话- 8605E-mail: xgzou@dsp.hit.edu.cn Agenda A simple project Tornado Debug In Detail Introduction Use tornado to setup, compile, build, debug and execute a simple project. Create the project - Edit source code - Build the project - Debug the project - Run the project Step 1 Create the project Start Create downloadable project Create downloadable project next Create downloadable project next Step 2 Edit Source Code create a new c source file edit the c source file create a new c header file edit the c header file create the dependences create the dependences OK Step 3 Build The Project build the project menu build the project Step 4 Debug The Project launch the simulation launch the simulation OK vxsim launch the target server launch the debug download the project toggle the breakpoint the breakpoint is toggled run the program run task dialog step over the program stop debugging Step 5 Run The Project launch the shell execute program in the shell show the result in the shell Agenda A simple project Tornado Debug In Detail Tornado Debug In Detail Tornado Debug In Detail Tornado Debug Tornado系统开发的调试手段和其他系统开发调试手段类似。 Tornado提供图形化的调试界面,方便开发者的调试。 Debugging Window Debug Toolbar Run 在Debugger的控制下运行一个任务 Interrupt Debugger 打断程序的执行 Stop Debugger 退出Debugger状态 Debug状态 非Debug状态 Toggle Breakpoint 断点开关 在特定的代码行设置断点或取消断点 Step Into 跟踪到子函数内部 Step Over 不跟踪到子函数内部 Continue 一直执行直到遇到断点、出错或程序结束。 Step Out 如果在子函数内部,运行完子函数。 Watch Variables 查看变量的值 Registers 查看寄存器的值 Back Trace 查看调用关系 Memory 查看特定存储空间的值 * * *
文档评论(0)