From ceace170014f689f91435b2010771661f1f0ee18 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 17 Jun 2024 12:11:35 +0200 Subject: [PATCH] TMP: Further debug attempts --- src/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 50da23a7f..8b6a5159f 100644 --- a/src/main.c +++ b/src/main.c @@ -712,8 +712,8 @@ main (int argc, char **argv) { g_message ("Execution of main.js threw exception: %s", error->message); g_error_free (error); - g_message ("Sleeping 100 seconds to sabotage startup. Attempt to reproduce https://gitlab.gnome.org/GNOME/openqa-tests/-/issues/62"); - g_usleep (100 * G_USEC_PER_SEC); + g_warning ("WAT!! Sleeping 200 seconds to sabotage startup. Attempt to reproduce https://gitlab.gnome.org/GNOME/openqa-tests/-/issues/62"); + g_usleep (200 * G_USEC_PER_SEC); /* We just exit() here, since in a development environment you'll get the * error in your shell output, and it's way better than a busted WM, * which typically manifests as a white screen. @@ -725,11 +725,12 @@ main (int argc, char **argv) * If there was a generic "hook into bug-buddy for non-C crashes" * infrastructure, here would be the place to put it. */ + g_warning ("WAT!! Now exiting gnome-shell"); g_object_unref (gjs_context); exit (1); } - g_message ("Shutting down GNOME Shell"); + g_warning ("WAT!! Shutting down GNOME Shell"); _shell_global_notify_shutdown (shell_global_get ()); shell_profiler_shutdown ();