Add button to test user asserts
This commit is contained in:
parent
01b2330ebc
commit
ae0e97a27f
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue