ac87ce9b5a
- 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 |
||
---|---|---|
.. | ||
Properties | ||
app.config | ||
app.manifest | ||
CefSharp.MinimalExample.OffScreen.csproj | ||
CefSharp.MinimalExample.OffScreen.netcore.csproj | ||
crash_reporter.cfg | ||
packages.config | ||
Program.cs |