#1 Can't set a breakpoint in narrowed buffer

開啟中
nico9 月之前建立 · 2 條評論

I didn't try to reproduce the bug, but I think that

(indium-backend-add-breakpoint (indium-backend)
                                     buffer-file-name
                                     (1- (line-number-at-pos))
                                     (lambda (line id condition)
                                       (indium-breakpoint-added id ov))
                                     condition)

in indium-breakpoint-add can't work in narrowed buffers because line-number-at-pos return the narrowed line number. I submitted a patch to Emacs, but it hasn't been merged yet :-).


Issue migrated from Gitlab

  • Original author: @DamienCassou
  • Created: 2017-06-16T15:46:03.955Z
  • Updated: 2017-06-19T09:31:04.501Z
I didn't try to reproduce the bug, but I think that ```common-lisp (indium-backend-add-breakpoint (indium-backend) buffer-file-name (1- (line-number-at-pos)) (lambda (line id condition) (indium-breakpoint-added id ov)) condition) ``` in `indium-breakpoint-add` can't work in narrowed buffers because `line-number-at-pos` return the narrowed line number. I submitted a patch to Emacs, but it hasn't been merged yet :-). ----- #### Issue migrated from Gitlab - Original author: @DamienCassou - Created: 2017-06-16T15:46:03.955Z - Updated: 2017-06-19T09:31:04.501Z
nico 評論 9 月之前
所有者

changed the description


Comment migrated from Gitlab

  • Original author: @DamienCassou
  • Created: 2017-06-16T15:47:40.717Z
  • Updated: 2017-06-16T15:47:40.717Z
changed the description ----- #### Comment migrated from Gitlab - Original author: @DamienCassou - Created: 2017-06-16T15:47:40.717Z - Updated: 2017-06-16T15:47:40.717Z
nico 評論 9 月之前
所有者

It's been merged in Emacs master :rocket:


Comment migrated from Gitlab

  • Original author: @nico
  • Created: 2017-06-19T09:31:04.461Z
  • Updated: 2017-06-19T09:31:04.461Z
It's been merged in Emacs master :rocket: ----- #### Comment migrated from Gitlab - Original author: @nico - Created: 2017-06-19T09:31:04.461Z - Updated: 2017-06-19T09:31:04.461Z
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
No Assignees
1 參與者
截止日期

未設定截止日期。

Dependencies

This issue currently doesn't have any dependencies.

Loading…
取消
儲存
尚未有任何內容