branch: master
commit 6df0f6a1fcc50e14a5f99b6b08e476fe64c21279
Author: rocky <[email protected]>
Commit: rocky <[email protected]>
trepanjs location format has changed
---
realgud/debugger/trepanjs/init.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/realgud/debugger/trepanjs/init.el
b/realgud/debugger/trepanjs/init.el
index e88aed9..decb17d 100644
--- a/realgud/debugger/trepanjs/init.el
+++ b/realgud/debugger/trepanjs/init.el
@@ -42,11 +42,14 @@ realgud-loc-pat struct")
(setf (gethash "loc" realgud:trepanjs-pat-hash)
(make-realgud-loc-pat
:regexp (format
- "\\(?:%s\\)*\\(?:break\\|exception\\|call\\) in %s:%s"
+ "\\(?:%s\\)*\\(?:break\\|exception\\|call\\) in %s at line
%s:%s"
realgud:js-term-escape realgud:trepanjs-file-regexp
+ realgud:regexp-captured-num
realgud:regexp-captured-num)
:file-group 1
- :line-group 2))
+ :line-group 2
+ :char-offset-group 3
+ ))
;; Regular expression that describes a trepanjs command prompt
;; For example: