solaris调试技术

solaris调试技术

ID:20968645

大小:1.04 MB

页数:56页

时间:2018-10-18

solaris调试技术_第1页
solaris调试技术_第2页
solaris调试技术_第3页
solaris调试技术_第4页
solaris调试技术_第5页
资源描述:

《solaris调试技术》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、Solaris下调试技术综述内容GNU调试工具ForteDBX调试监测工具adbmdb基本gdb命令(1)file装入想要调试的可执行文件. kill终止正在调试的程序. list列出产生执行文件的源代码的一部分. next执行一行源代码但不进入函数内部. step执行一行源代码而且进入函数内部. run执行当前被调试的程序quit终止gdbRogueWave基本gdb命令(2)watch使你能监视一个变量的值而不管它何时被改变. break在代码里设置断点,这将使程序执行到这里时被挂起. Info显示相关信息(infobreak,infofiles)make使

2、你能不退出gdb就可以重新产生可执行文件. shell使你能不离开gdb就执行UNIXshell命令.内容GNU调试工具ForteDBX调试监测工具adbmdbDebugging&TuningDebuggingofoptimized,parallelizedcodeSupportGDBcommand:gdbon

3、offsteptofunccommandRunTimeChecking(RTC)Fix&ContinueMTdebuggingDatavisualizationPerformanceAnalyzerImproved!Debugger:RunTimeChe

4、cking(RTC)Integraldebuggingfeature OtherfunctionscanbeusedwithRTCAutomaticdetectionofruntimeerrorsMemoryaccesserrorsMemoryleakerrorsMonitorsmemoryusageWorkswithalllanguagesSourcecodenotneededWorkswithmultithreadedcodeRequiresnorecompiling,relinking,ormakefilechangesDebugger:RunTimeCh

5、eckingImproveapplicationqualityDetect&fix"hard-to-find"errorsMemoryaccess,leaks,anduseIntegratedwithdebuggerNorelinkrequiredDebugger:FixandContinueDramaticallyreducestheedit-compile-debugcycleModifysourcecodeClickthe"Fix"toolNorelinkingNoreloadingtheprogramfordebuggingResumerunningpr

6、ogramfromfixlocationDebugger:FixandContinueRTCfindstheerror......youfixitintheeditorandsave......clickthe"Fix"button.........andcontinuedebuggingwithnolengthyrecompile/relinkcycle!Debugger:EasyToVisualizeQuicklyunderstandanddebugcomplexdataarraysandalgorithmsSpecifyingArraySingle-dim

7、ensionalarraysVectorgraphTwo-dimensionalarrayAreagraphNdimensionalarraysAtmost,onlytwoofthosedimensioncanvary.GraphtypesDebugger:MTDebuggingSupportsbothSolaristhreads andPOSIXthreads"stoptheworld"modeExaminestacktracesofeachthreadResumeallthreadsstepornextaspecificthreadNavigatebetwe

8、enthreadsLockinformationonindividualthreads(sync)Debugger:MTDebugging:ThreadStatusThreadinformation*indicateseventsrequiringuserattention'o'indicatesadbxinternaleventt@num,thethreadidbl@num:thisthreadboundtothedesignatedLWPal@num:thisthreadactiveonthedesignatedLWP"Startfunction"ofthe

9、threadThread

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。