(setf (gethash "lang-backtrace" dbgr-rdebug-pat-hash)
dbgr-ruby-backtrace-loc-pat)
+;; Regular expression that describes a ruby $! backtrace
+(setf (gethash "dollar-bang-backtrace" dbgr-rdebug-pat-hash)
+ dbgr-ruby-dollar-bang-loc-pat)
+
;; Regular expression that describes a rdebug "breakpoint set" line
;; For example:
;; Breakpoint 1 file /test/gcd.rb, line 6
(setf (gethash "quit" dbgr-rdebug-command-hash) "quit!")
(setf (gethash "shell" dbgr-rdebug-command-hash) "irb")
-(setf (gethash "trepan" dbgr-command-hash) dbgr-rdebug-command-hash)
+(setf (gethash "rdebug" dbgr-command-hash) dbgr-rdebug-command-hash)
(provide-me "dbgr-rdebug-")
;; <internal:lib/rubygems/custom_require>:29:in `require'
;; /tmp/Rakefile:50:in `<top /src/external-vcs/laser/Rakefile>'
;; from /usr/lib/ruby/gems/rspec/compatibility.rb:6:in `const_missing'
-(setf (gethash "lang-backtrace" dbgr-trepan-pat-hash)
+(setf (gethash "lang-backtrace" dbgr-trepan-pat-hash)
(make-dbgr-loc-pat
:regexp "^\\(?:[\t]from \\)?\\([^:]+\\):\\([0-9]+\\)\\(?:in `.*'\\)?"
:file-group 1
\\{dbgr-example-map-standard}"
(define-key map (kbd "C-c !l") 'dbgr-goto-lang-backtrace-line)
- (define-key map (kbd "C-c !!") 'dbgr-goto-lang-backtrace-line)
+ (define-key map (kbd "C-c !!") 'dbgr-ruby-goto-dollar-bang-line)
(define-key map (kbd "C-c !b") 'dbgr-goto-debugger-backtrace-line)
(define-key map (kbd "C-c !r") 'dbgr-rails-goto-backtrace-line)
)