Delphi:应用程序错误日志记录在字段中 [英] Delphi: Application error logging in the field
问题描述
使用Delphi 7,我想知道是否有一个免费的组件,将收集诊断信息,因为我的应用程序在远程站点运行,并将帮助我调试错误报告。
Using Delphi 7, I wonder if there is a free component which will collect diagnostic information as my application runs at a remote site and will help me to debug error reports.
也许它记录每个菜单项选择,控制点击,文本输入等?也许它只是将堆栈转储在崩溃中。也许它会做一些其他事情...
Maybe it records each menu item selected, control clicked, text input, etc? Maybe it just dumps the stack on a crash. Maybe it does something else ...
我不介意添加代码(例如在每个过程的开始和结束),因为这可能会产生更有用的信息一个全自动的系统。
I don't mind adding code (e.g at the start and end of each procedure), as that might generate more useful info than a fully automatic system.
我不知道解决方案是否应该打回家,或者是否足以生成可以通过电子邮件发送给我的文本文件。
I am not sure if the solution ought to "phone home" or if it is enough to produce a text file which can be emailed to me.
任何建议?
推荐答案
我使用EurekaLog http://www.eurekalog.com
I use EurekaLog http://www.eurekalog.com
它执行调用堆栈,内存内容,其他运行的应用程序,机器的良好描述,操作系统,补丁等等,它可以(用户权限,如果配置为这样)截取屏幕截图,请求用户输入(当您崩溃时您在做什么?)等。它可以通过e发送转储-mail,发布到http,直接发布到像Mantis和FogBugz这样的bug跟踪器,或者把它留在系统上。这是非常好的,并得到很好的支持。
It does the call stack, memory contents, other apps running, a good description of the machine, OS, patches, etc.., It can (with user permission, and if configured to to so) take a screenshot, ask the user for input (what were you doing when it crashed?), etc.. It can send the dump via e-mail, post to http, post directly to bug trackers like Mantis and FogBugz, or just leave it on the system. It's great, and well supported.
此外,还有一个类似问题的链接
比较Delphi异常处理程序
Also, here's a link to a similar question Compare Delphi Exception Handlers
这篇关于Delphi:应用程序错误日志记录在字段中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!