在运行时调试

扫码查看
本文介绍了在运行时调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我是一个完全的初学者,编写了我的第二个程序,最后 得到它编译,我有一个错误我可以'跟踪发生在 运行时间 - 基本上无论我做什么都说分段错误。 我想知道是否有任何方法我可以得到更多 详细描述错误,以便我可以考虑对它进行排序 out。 有人向我提到g ++选项-DRANGE_CHECKING将 检查我是否正在访问未初始化的数组或某些东西在编译 时间,但这没有帮助,在此先感谢,我真的在我的智慧 结束!Hi,I''m a complete beginner, having written my second program and finallygot it to compile, I''ve got an error I can''t track down occurring atruntime - basically whatever I do it says Segmentation Fault.I was wondering if there was any way I could get a slightly moreverbose description of the error so that I could think about sorting itout.Someone mentioned to me that the g++ option -DRANGE_CHECKING wouldcheck if i was accessing uninitialised arrays or something at compiletime, but that hasn''t helped, Thanks in advance, I''m really at my witsend!推荐答案 这个新闻组只有资格讨论C ++源码;不是所有的各种 实现和工具,包括调试器。 你可以在这里发布一些来源 - 大多数seg故障很容易发现 - 或者你/> 可以将关于调试的问题发布到g ++新闻组。 - Phlip http://c2.com/cgi/wiki?ZeekLand < - 不是博客!! !This newsgroup is only qualified to discuss C++ source; not all its variousimplementations and tools, including debuggers.You could post some source here - most seg faults are easy to spot - or youcould post your question about debugging to a g++ newsgroup.--Phlip http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!! V - 请在邮寄回复时从我的地址中删除资金V--Please remove capital As from my address when replying by mail 这篇关于在运行时调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-19 16:07
查看更多