emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/inf-ruby c619217894 3/3: Merge pull request #164 from waym


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby c619217894 3/3: Merge pull request #164 from waymondo/ruby-debug
Date: Sun, 16 Oct 2022 18:58:56 -0400 (EDT)

branch: elpa/inf-ruby
commit c6192178941b46754fdb50405f344481c8ef2fd1
Merge: eb7bf95d5b 855a58582b
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: GitHub <noreply@github.com>

    Merge pull request #164 from waymondo/ruby-debug
    
    Add support for ruby's official `debug` gem
---
 inf-ruby.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 3314762e06..68a94fc338 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -141,6 +141,7 @@ the same directory and used the same base name."
     #'identity
     '("\\(^%s> *\\)"                      ; Simple
       "\\(^(rdb:1) *\\)"                  ; Debugger
+      "\\(^(rdbg[^)]*) *\\)"              ; Ruby Debug Gem
       "\\(^(byebug) *\\)"                 ; byebug
       "\\(^\\(irb([^)]+)"                 ; IRB default
       "\\([[0-9]+] \\)?[Pp]ry ?([^)]+)"   ; Pry
@@ -1014,7 +1015,7 @@ keymaps to bind `inf-ruby-switch-from-compilation' to 
`ะก-x C-q'."
 one of the predicates matches, then calls `inf-ruby-console-TYPE',
 passing it the found directory.")
 
-(defvar inf-ruby-breakpoint-pattern "\\(\\[1\\] 
pry(\\)\\|\\((rdb:1)\\)\\|\\((byebug)\\)"
+(defvar inf-ruby-breakpoint-pattern "\\(\\[1\\] 
pry(\\)\\|\\((rdb:1)\\)\\|\\((byebug)\\)\\|\\((rdbg[^)]*)\\)"
   "Pattern found when a breakpoint is triggered in a compilation session.
 This checks if the current line is a pry or ruby-debug prompt.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]