-
-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Hello, I am having problems debugging with binding.pry. Whenever I want to go back in history using the up key, it breaks with this error:
(search-failed "\\(^>> *\\)\\|\\(^(rdb:1) *\\)\\|\\(^(byebug) *\\)\\|\\(^\\(i...")
re-search-backward("\\(^>> *\\)\\|\\(^(rdb:1) *\\)\\|\\(^(byebug) *\\)\\|\\(^\\(i...")
inf-ruby-get-old-input()
#f(compiled-function (regexp n &optional restore) "Search backwards through input history for match for REGEXP.\n(Previous history elements are earlier commands.)\nWith prefix argument N, search for Nth previous match.\nIf N is negative, find the next or Nth next match." (interactive (comint-regexp-arg "Previous input matching (regexp): ")) #<bytecode 0x3cd3e3064965c2f>)("." 1 nil)
ad-Advice-comint-previous-matching-input(#f(compiled-function (regexp n &optional restore) "Search backwards through input history for match for REGEXP.\n(Previous history elements are earlier commands.)\nWith prefix argument N, search for Nth previous match.\nIf N is negative, find the next or Nth next match." (interactive (comint-regexp-arg "Previous input matching (regexp): ")) #<bytecode 0x3cd3e3064965c2f>) "." 1)
apply(ad-Advice-comint-previous-matching-input #f(compiled-function (regexp n &optional restore) "Search backwards through input history for match for REGEXP.\n(Previous history elements are earlier commands.)\nWith prefix argument N, search for Nth previous match.\nIf N is negative, find the next or Nth next match." (interactive (comint-regexp-arg "Previous input matching (regexp): ")) #<bytecode 0x3cd3e3064965c2f>) ("." 1))
comint-previous-matching-input("." 1)
comint-previous-input(1)
funcall-interactively(comint-previous-input 1)
call-interactively(comint-previous-input nil nil)
command-execute(comint-previous-input)My pry prompt looks like this:
[4] [my_project][test] pry(#<RSpec::ExampleGroups::B2cLocation::GoogleMapsValidation>)>
I am using doom emacs with emacs 28.50, ruby 2.7.2 and the latest pry gem - 0.13.1
Metadata
Metadata
Assignees
Labels
No labels