您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 公司方案 > vxworks开发环境
AgendaAsimpleprojectTornadoDebugInDetailIntroductionUsetornadotosetup,compile,build,debugandexecuteasimpleproject.Createtheproject-Editsourcecode-Buildtheproject-Debugtheproject-RuntheprojectStep1CreatetheprojectStartCreatedownloadableprojectCreatedownloadableprojectnextCreatedownloadableprojectnextStep2EditSourceCodecreateanewcsourcefileeditthecsourcefilecreateanewcheaderfileeditthecheaderfilecreatethedependencescreatethedependencesOKStep3BuildTheProjectbuildtheprojectmenubuildtheprojectStep4DebugTheProjectlaunchthesimulationlaunchthesimulationOKvxsimlaunchthetargetserverlaunchthedebugdownloadtheprojecttogglethebreakpointthebreakpointistoggledruntheprogramruntaskdialogstepovertheprogramstopdebuggingStep5RunTheProjectlaunchtheshellexecuteprogramintheshellshowtheresultintheshellAgendaAsimpleprojectTornadoDebugInDetailTornadoDebugInDetailTornadoDebugInDetailTornadoDebugTornado系统开发的调试手段和其他系统开发调试手段类似。Tornado提供图形化的调试界面,方便开发者的调试。DebuggingWindowDebugToolbarRun在Debugger的控制下运行一个任务InterruptDebugger打断程序的执行StopDebugger退出Debugger状态Debug状态非Debug状态ToggleBreakpoint断点开关在特定的代码行设置断点或取消断点StepInto跟踪到子函数内部StepOver不跟踪到子函数内部Continue一直执行直到遇到断点、出错或程序结束。StepOut如果在子函数内部,运行完子函数。WatchVariables查看变量的值Registers查看寄存器的值BackTrace查看调用关系Memory
本文标题:vxworks开发环境
链接地址:https://www.777doc.com/doc-905426 .html