用于记录不可重现错误的软件工具
显然,由于其原因的性质(即竞争条件),不可重现的错误是最难修复的,因此我们作为程序员必须尽最大努力收集数据(即日志、屏幕截图等)并验证错误文档是否正确准确地试图了解发生了什么。 谁能推荐任何软件工具或方法,可以记录和重构机器指令的实际执行序列,同时允许用户单步执行它们并检查代码?
如果有帮助的话,我正在构建的项目是一个用 C++ 编写并使用 VS2005 的 Windows 应用程序。
预先感谢您的所有帮助!
Obviously the non-reproducible bugs are the hardest to fix due to the nature of their cause (i.e. race conditions), so we as programmers must do our best to gather data (i.e. logs, screenshots, etc.) and verify the bug documentation is accurate in an attempt to understand what happened. Can anyone recommend any software tools, or methods, that can record and reconstitute the actual executed sequence of machine instructions while allowing the user to step through them and inspect the code?
If it helps, the project I'm building is a windows application written in C++ and uses VS2005.
Thanks in advance for all your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“时间机器”/重放调试对于调试您描述的问题类型非常有帮助。
例如 Green Hills 时间机器调试器
我自己没有使用过这个,但听起来可能对于您正在构建的项目类型很有用: VMWare重放调试
'Time-machine' / Replay debugging is very helpful for debugging the type of issues you describe.
eg Green Hills time machine debugger
I have not used this myself but it sounds like it might be useful for the type of project you are building: VMWare replay debugging