diff --git a/event_loop.cpp b/event_loop.cpp index 624a366..a1655d9 100644 --- a/event_loop.cpp +++ b/event_loop.cpp @@ -170,6 +170,9 @@ static inline void debug_window(LogcatThread& logcat_thread) { if (ImGui::Button("Add Log Entry with Newlines")) { log("The following should have five spaces: \"\n\n\n\n\n\""); } + if (ImGui::Button("Test user assert")) { + IM_ASSERT_USER_ERROR(0, "User assert tested"); + } if (ImGui::Button("Request log entry from Logcat thread")) { logcat_thread.debug_log_request.test_and_set(); }