欢迎来到天天文库
浏览记录
ID:27682687
大小:1.65 MB
页数:52页
时间:2018-12-05
《嵌入式系统软件教程(1)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、AgendaAsimpleprojectTornadoDebugInDetailIntroductionUsetornadotosetup,compile,build,debugandexecuteasimpleproject.Createtheproject->Editsourcecode->Buildtheproject->Debugtheproject->RuntheprojectStep1CreatetheprojectStartCreatedownloadableprojectCreatedownloadableprojectnextCreatedownloadabl
2、eprojectnextStep2EditSourceCodecreateanewcsourcefileeditthecsourcefilecreateanewcheaderfileeditthecheaderfilecreatethedependencescreatethedependencesOKStep3BuildTheProjectbuildtheprojectmenubuildtheprojectStep4DebugTheProjectlaunchthesimulationlaunchthesimulationOKvxsimlaunchthetargetserverl
3、aunchthedebugdownloadtheprojecttogglethebreakpointthebreakpointistoggledruntheprogramruntaskdialogstepovertheprogramstopdebuggingStep5RunTheProjectlaunchtheshellexecuteprogramintheshellshowtheresultintheshellAgendaAsimpleprojectTornadoDebugInDetailTornadoDebugInDetailTornadoDebugInDetailTorn
4、adoDebugTornado系统开发的调试手段和其他系统开发调试手段类似。Tornado提供图形化的调试界面,方便开发者的调试。DebuggingWindowDebugToolbarRun在Debugger的控制下运行一个任务InterruptDebugger打断程序的执行StopDebugger退出Debugger状态Debug状态非Debug状态ToggleBreakpoint断点开关在特定的代码行设置断点或取消断点StepInto跟踪到子函数内部StepOver不跟踪到子函数内部Continue一直执行直到遇到断点、出错或程序结束。StepOut如果在子函数内部,运行完
5、子函数。WatchVariables查看变量的值Registers查看寄存器的值BackTrace查看调用关系Memory查看特定存储空间的值
此文档下载收益归作者所有