CefSharp.MinimalExample/CefSharp.MinimalExample.OffScreen
amaitland ac87ce9b5a Enable crash reporting by default
- Set CopyToOutputDirectory in csproj files
- It's important to make sure the crash_reporter.cfg is copied to the bin folder, it has to be next to your application exe.
- Specify AppName in crash_reporter.cfg to have dumps generated to a folder in this case they will be generated at C:\Users\[CurrentUser]\AppData\Local\CefSharp.MinimalExample\User Data
- If you are having trouble getting a dump, run your exe outside of Visual Studio, the debugger can sometimes interfere

You can test crash reporting as outlined in https://bitbucket.org/chromiumembedded/cef/wiki/CrashReporting.md#markdown-header-testing
Loading `chrome://crash` in the browser will crash the render process

To confirm that crash reporting is enabled check the debug.log file, you should see a number of entries like Crash reporting enabled for process: browser
2019-11-15 08:13:59 +10:00
..
Properties Year bump 2015-06-15 18:33:22 +10:00
app.config Update to 51.0.0-pre01 2016-06-07 14:37:52 +10:00
app.manifest app.manifest Upgrade version number 2018-06-25 19:34:13 +10:00
CefSharp.MinimalExample.OffScreen.csproj Enable crash reporting by default 2019-11-15 08:13:59 +10:00
CefSharp.MinimalExample.OffScreen.netcore.csproj Upgrade .Net Core examples to 75.1.143 2019-11-03 13:08:45 +10:00
crash_reporter.cfg Enable crash reporting by default 2019-11-15 08:13:59 +10:00
packages.config Upgrade to 75.1.143 2019-11-03 13:04:07 +10:00
Program.cs Add .NET Core 3.0 WinForms/WPF/OffScreen examples (#57) 2019-09-10 18:20:34 +10:00