[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b71750a 193/215: Relax deleted breakpoint regexp in PDB to
From: |
Rocky Bernstein |
Subject: |
[elpa] master b71750a 193/215: Relax deleted breakpoint regexp in PDB to support Python 2 and 3 |
Date: |
Sat, 30 Jul 2016 14:49:05 +0000 (UTC) |
branch: master
commit b71750a1a38400db91a45d530623b2924f5e9fae
Author: Clément Pit--Claudel <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>
Relax deleted breakpoint regexp in PDB to support Python 2 and 3
In Python 3, the deleted breakpoint message include a file path and a
line number; it doesn't in Python 2.
Related to #115; thanks @ilohmar for reporting!
---
realgud/debugger/ipdb/init.el | 5 +++--
realgud/debugger/pdb/init.el | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/realgud/debugger/ipdb/init.el b/realgud/debugger/ipdb/init.el
index 96ef9e3..07ae8ad 100644
--- a/realgud/debugger/ipdb/init.el
+++ b/realgud/debugger/ipdb/init.el
@@ -71,10 +71,11 @@ realgud-loc-pat struct")
:file-group 2
:line-group 3))
-;; Regular expression that describes a "delete breakpoint" line
+;; Regular expression that describes a "delete breakpoint" line
+;; Python 3 includes a file name and line number; Python 2 doesn't
(setf (gethash "brkpt-del" realgud:ipdb-pat-hash)
(make-realgud-loc-pat
- :regexp "^Deleted breakpoint \\([0-9]+\\)\n"
+ :regexp "^Deleted breakpoint \\([0-9]+\\)"
:num 1))
(setf (gethash "font-lock-keywords" realgud:ipdb-pat-hash)
diff --git a/realgud/debugger/pdb/init.el b/realgud/debugger/pdb/init.el
index 9aa5b0b..ac346b8 100644
--- a/realgud/debugger/pdb/init.el
+++ b/realgud/debugger/pdb/init.el
@@ -71,9 +71,10 @@ realgud-loc-pat struct")
:line-group 3))
;; Regular expression that describes a "delete breakpoint" line
+;; Python 3 includes a file name and line number; Python 2 doesn't
(setf (gethash "brkpt-del" realgud:pdb-pat-hash)
(make-realgud-loc-pat
- :regexp "^Deleted breakpoint \\([0-9]+\\)\n"
+ :regexp "^Deleted breakpoint \\([0-9]+\\)"
:num 1))
(setf (gethash "font-lock-keywords" realgud:pdb-pat-hash)
- [elpa] master e68e3a2 133/215: Add a few bindings to shortkey-mode, (continued)
- [elpa] master e68e3a2 133/215: Add a few bindings to shortkey-mode, Rocky Bernstein, 2016/07/30
- [elpa] master 6500858 081/215: Try to tidy badges a little, Rocky Bernstein, 2016/07/30
- [elpa] master c633f3f 136/215: Ignore safe-mode setting when clicking a toolbar button, Rocky Bernstein, 2016/07/30
- [elpa] master 81f0b58 172/215: Merge pull request #114 from rocky/default-hash, Rocky Bernstein, 2016/07/30
- [elpa] master d2b8d13 134/215: Remove key argument of realgud:cmd-remap, Rocky Bernstein, 2016/07/30
- [elpa] master bf1cd9f 087/215: Travis emacs doesn't do font-lock-ensure. Use older form for now, Rocky Bernstein, 2016/07/30
- [elpa] master 8e00edc 174/215: Further cleanup in cmds.el: remove unused arguments, Rocky Bernstein, 2016/07/30
- [elpa] master 6429d94 129/215: Revert "Manually generate "recursive" autoloads for subdirectories", Rocky Bernstein, 2016/07/30
- [elpa] master 1ff6720 189/215: Merge pull request #127 from realgud/quit-confirm, Rocky Bernstein, 2016/07/30
- [elpa] master 70ead82 184/215: Correct "breakpoint deleted" regexp, Rocky Bernstein, 2016/07/30
- [elpa] master b71750a 193/215: Relax deleted breakpoint regexp in PDB to support Python 2 and 3,
Rocky Bernstein <=
- [elpa] master 2f30f42 176/215: Merge pull request #119 from realgud/improve-break-C-u, Rocky Bernstein, 2016/07/30
- [elpa] master cbfa182 203/215: Improve realgud:run-process docstring, Rocky Bernstein, 2016/07/30
- [elpa] master 333a946 104/215: Merge pull request #74 from rocky/ipdb, Rocky Bernstein, 2016/07/30
- [elpa] master 2316417 205/215: Reassign more copyrights to FSF, Rocky Bernstein, 2016/07/30
- [elpa] master 703e087 185/215: Correct cmd capabilities for perldb and trepanjs, Rocky Bernstein, 2016/07/30
- [elpa] master d367cab 196/215: Correct python trepan enable/disable patterns, Rocky Bernstein, 2016/07/30
- [elpa] master 5a84817 178/215: Fix invalid references to realgud:loc-follow, Rocky Bernstein, 2016/07/30
- [elpa] master 8edfb04 215/215: Not needed for elpa, Rocky Bernstein, 2016/07/30
- [elpa] master d97bf08 179/215: Update doc links, Rocky Bernstein, 2016/07/30
- [elpa] master e4c05b2 208/215: Merge pull request #137 from realgud/gdb-mi-warning, Rocky Bernstein, 2016/07/30