https://bugs.kde.org/show_bug.cgi?id=505521
Waqar Ahmed <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/util | |ities/kate/-/commit/8af3900 | |eb66fec1084427abd0354727bfb | |e2ff3e --- Comment #3 from Waqar Ahmed <[email protected]> --- Git commit 8af3900eb66fec1084427abd0354727bfbe2ff3e by Waqar Ahmed, on behalf of Aario Shahbany. Committed on 18/07/2025 at 19:43. Pushed by waqar into branch 'master'. Debugger: Improve DAP launch to prevent starting without a target Currently, trying to launch a DAP session (e.g., Python) with an empty executable path fails with an unhelpful error from the debug adapter, after temporarily enabling and then disabling the UI. This patch introduces two changes to create a better user experience: 1. In ConfigView::currentDAPTarget, if the executable path is empty, a warning dialog is now shown to the user instructing them to set the target path. The configuration is then invalidated to prevent the launch from proceeding. 2. In KatePluginGDBView::slotDebug, a check is added to ensure the configuration is valid before any debugger actions are taken. This prevents multiple warning dialogs and cleanly aborts the launch. This makes the behavior more intuitive and guides the user to the correct configuration step. Closes #505521 M +13 -3 addons/gdbplugin/configview.cpp M +1 -1 addons/gdbplugin/configview.h M +17 -1 addons/gdbplugin/plugin_kategdb.cpp https://invent.kde.org/utilities/kate/-/commit/8af3900eb66fec1084427abd0354727bfbe2ff3e -- You are receiving this mail because: You are watching all bug changes.
