[gnome-builder] plugins/debuggerui: give access to break-at-main option



commit a0f45f6b95e71e1e9e5586b918d3c7e1059d5bc3
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 25 18:09:49 2022 -0700

    plugins/debuggerui: give access to break-at-main option

 src/plugins/debuggerui/gtk/menus.ui | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/debuggerui/gtk/menus.ui b/src/plugins/debuggerui/gtk/menus.ui
index 4368fe55d..c2ea11e4e 100644
--- a/src/plugins/debuggerui/gtk/menus.ui
+++ b/src/plugins/debuggerui/gtk/menus.ui
@@ -19,8 +19,13 @@
       <submenu id="run-menu-debugger-submenu">
         <attribute name="before">run-menu-verbose-logging</attribute>
         <attribute name="label" translatable="yes">Debugger</attribute>
-        <section id="run-menu-debugger-logging-breakpoints">
-          <attribute name="label" translatable="yes">Logging Breakpoints</attribute>
+        <section id="run-menu-debugger-breakpoints">
+          <attribute name="label" translatable="yes">Breakpoints</attribute>
+          <item>
+            <attribute name="label" translatable="yes">Automatically Break at Program Start</attribute>
+            <attribute name="action">build-settings.debugger-breakpoint-on-main</attribute>
+            <attribute name="role">check</attribute>
+          </item>
           <item>
             <attribute name="label" translatable="yes">Automatically Break at Warnings</attribute>
             <attribute name="action">debug-manager.stop-at-warnings</attribute>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]