5

On application crashes, we are looking into the best way to collect user/environment and crash information so we can have it emailed to us.

Are there any libraries (open-source or commercial) which do this well?

Our application is a desktop application written in c# .Net with swigged c++ code.

Thanks,

Liron

Liron
  • 2,012
  • 19
  • 39

2 Answers2

1

Many obfuscation tools include error reporting, which includes this type of diagnostic functionality. For example:

Reed Copsey
  • 554,122
  • 78
  • 1,158
  • 1,373
  • In one of our applications, we are running inside unity3d, so using an obfuscator isn't really an option, but it's good to know that those are built in. – Liron Oct 27 '11 at 18:54
  • @LKIM: I believe, with SmartAssembly, you can actually turn off the obfuscation and still use their error reporting. However, you should be able to obfuscate even with Unity3D, though you'll be restricted to using lower (less secure) obfuscation settings... – Reed Copsey Oct 27 '11 at 18:55
  • Interesting - do you know if SmartAssembly can also give error information from our c++ code too? – Liron Oct 27 '11 at 19:13
  • @LKIM I think it's mostly capturing the managed exceptions. If your C++ errors are wrapped into managed exceptions, then yes, it would... – Reed Copsey Oct 27 '11 at 19:20
1

I like the functionality provided by Bugtrap, collecting crash dumps and "send to" functionality. Crash dumps + WinDbg gives you the tools needed to debug client errors with an experience very close to what you are used to when debugging in Visual Studio.

Bugtrap:

http://www.codeproject.com/KB/applications/BugTrap.aspx

Marius
  • 9,208
  • 8
  • 50
  • 73