Browse Source

Put breakpoints at column 0

* indium-interaction.el: Always move the point to the first column when adding a
  breakpoint, to avoid breakpoint resolution by the runtime to be on another
  line.
workspaces
Nicolas Petton 3 years ago
parent
commit
e6baf19b84
Signed by: nico GPG Key ID: 233587A47C207910
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      indium-interaction.el

+ 3
- 1
indium-interaction.el View File

@ -139,7 +139,9 @@ When CONDITION is non-nil, add a conditional breakpoint with
CONDITION."
(interactive)
(indium-interaction--guard-no-breakpoint-at-point)
(indium-breakpoint-add condition))
(save-excursion
(beginning-of-line)
(indium-breakpoint-add condition)))
(defun indium-add-conditional-breakpoint (condition)
"Add a breakpoint with CONDITION at point.


Loading…
Cancel
Save