diff --git a/aegisub/frame_main_events.cpp b/aegisub/frame_main_events.cpp index 7b06f491a..d7ab523bf 100644 --- a/aegisub/frame_main_events.cpp +++ b/aegisub/frame_main_events.cpp @@ -582,6 +582,17 @@ void FrameMain::OnForums(wxCommandEvent& WXUNUSED(event)) { /////////////////// // Open bugtracker void FrameMain::OnBugTracker(wxCommandEvent& WXUNUSED(event)) { + if (wxGetMouseState().CmdDown()) { + if (wxGetMouseState().ShiftDown()) { + wxMessageBox(_T("Now crashing with an access violation...")); + for (char *foo = (char*)0;;) *foo++ = 42; + } + else { + wxMessageBox(_T("Now crashing with an unhandled exception...")); + throw this; + } + } + AegisubApp::OpenURL(_T("http://bugs.aegisub.net/")); }