gpt4 book ai didi

Delphi:现场应用程序错误日志记录

转载 作者:行者123 更新时间:2023-12-03 14:49:17 27 4
gpt4 key购买 nike

使用 Delphi 7,我想知道是否有一个免费组件可以在我的应用程序在远程站点运行时收集诊断信息,并帮助我调试错误报告。

也许它会记录每个选择的菜单项、单击的控件、文本输入等?也许它只是在崩溃时转储堆栈。也许它还有其他作用......

我不介意添加代码(例如在每个过程的开始和结束处),因为这可能会比全自动系统生成更多有用的信息。

我不确定该解决方案是否应该“打电话回家”,或者是否足以生成一个可以通过电子邮件发送给我的文本文件。

有什么建议吗?

最佳答案

通过崩溃调试来看看 MadExcept
http://www.madshi.net/madExceptDescription.htm

madExcept was built to help you locating crashes in your software. Whenever there's a crash/exception in your program, madExcept will automatically catch it, analyze it, collect lots of useful information, and give the end user the possibility to send you a full bug report.

free for non-commercial usage, inexpensive for commercial usage

或来自 JEDI 代码库的 JclDebug

http://www.delphi-jedi.org/

可以在此处找到有关它的博客文章 http://www.gnegg.ch/2002/12/jcldebug/

编辑:这似乎是关于如何使用 JCLDebug 的一个非常好的示例 http://robstechcorner.blogspot.com/2009/04/finding-hard-to-reproduce-errors.html

关于Delphi:现场应用程序错误日志记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2918221/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com