branch: externals/realgud
commit 565ac7843e827a9a43c8ace86f3a21b0e4173ff8
Author: rocky <[email protected]>
Commit: rocky <[email protected]>
Adjust for v8 tracebacks inside a debugger console
---
realgud/debugger/jdb/core.el | 2 +-
realgud/lang/js.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/realgud/debugger/jdb/core.el b/realgud/debugger/jdb/core.el
index a64cb4b..44b1939 100644
--- a/realgud/debugger/jdb/core.el
+++ b/realgud/debugger/jdb/core.el
@@ -113,7 +113,7 @@ We return the a list containing
* the command debugger (e.g. jdb)
-* debugger command rguments if any - a list of strings
+* debugger command arguments if any - a list of strings
* the script name and its arguments - list of strings
diff --git a/realgud/lang/js.el b/realgud/lang/js.el
index 0c7305f..4ebd2bd 100644
--- a/realgud/lang/js.el
+++ b/realgud/lang/js.el
@@ -37,7 +37,7 @@
;; main::foo(3) called at /tmp/foo.pl line 8
(defconst realgud:js-backtrace-loc-pat
(make-realgud-loc-pat
- :regexp (format "^\\(?:[\t ]+at \\)?\\([^:]+\\) (\\(.*\\):%s:%s)"
+ :regexp (format "^\\(?:[<]?[\t ]+at \\)?\\([^:]+\\) (\\(.*\\):%s:%s)"
realgud:regexp-captured-num realgud:regexp-captured-num)
:file-group 2
:line-group 3