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

标签 delphi logging error-handling remote-debugging

使用 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/

相关文章:

delphi - TDBGrid:OnDrawColumnCell 数据重叠

java - Log4J动态创建日志文件

c# - 记录整个 SOAP 请求还是只记录其中的参数?

python - 我的代码如何在 Python 中只接受整数?

delphi - Delphi 中的 TCP 监听器

Delphi Firemonkey DX Seattle TTabControl 在 TVertScrollBox 内时无法正确重印

error-handling - 无法模拟 MQ 原因码 2009

java - Java/JSch 中的 SSH 命令给出退出代码 -1

sqlite - 为什么在 SQLite 中使用 TFDQuery 合并两个数据集后数字字段变成 TWideStringField

java - 我们可以根据内容更改 log4j 日志记录级别吗