[llvm] [Dexter] Add DAP instruction and function breakpoint handling (PR #152718)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 03:49:18 PDT 2025


================
@@ -606,7 +693,13 @@ def _get_launch_params(self, cmdline):
         """ "Set the debugger-specific params used in a launch request."""
 
     def launch(self, cmdline):
-        assert len(self.file_to_bp.keys()) > 0
+        # FIXME: This should probably not a warning, not an assert.
----------------
OCHyams wrote:

You may have instructed dexter to set a breakpoint, but the debugger fail to bind any. In that case, dexter asserting isn't very user friendly... in any case, I've reworded the fixme (I still believe it should be fixed at some point).

https://github.com/llvm/llvm-project/pull/152718


More information about the llvm-commits mailing list