add more exception handler options to dev menu

This commit is contained in:
marzent 2024-02-10 13:03:11 +01:00
parent be965f8dd1
commit df65d59f8b
2 changed files with 54 additions and 12 deletions

View file

@ -863,9 +863,19 @@ internal class DalamudInterface : IDisposable, IServiceType
if (ImGui.BeginMenu("Game"))
{
if (ImGui.MenuItem("Replace ExceptionHandler"))
if (ImGui.MenuItem("Use in-game default ExceptionHandler"))
{
this.dalamud.ReplaceExceptionHandler();
this.dalamud.UseDefaultExceptionHandler();
}
if (ImGui.MenuItem("Use in-game debug ExceptionHandler"))
{
this.dalamud.UseDebugExceptionHandler();
}
if (ImGui.MenuItem("Disable in-game ExceptionHandler"))
{
this.dalamud.UseNoExceptionHandler();
}
ImGui.EndMenu();