emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master bbdeb4e 19/56: Fixes issue #33


From: Rocky Bernstein
Subject: [elpa] master bbdeb4e 19/56: Fixes issue #33
Date: Sat, 27 May 2017 05:02:30 -0400 (EDT)

branch: master
commit bbdeb4ec1872c5f69e4e539afa1ed870c5d8f93d
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

    Fixes issue #33
    
    Was using wrong debugger name in command-hash (pdb vs ipdb)
    Default eval is pp now.
---
 realgud/debugger/ipdb/init.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/realgud/debugger/ipdb/init.el b/realgud/debugger/ipdb/init.el
index d83a4fd..cdcfce2 100644
--- a/realgud/debugger/ipdb/init.el
+++ b/realgud/debugger/ipdb/init.el
@@ -118,17 +118,16 @@ realgud-loc-pat struct")
   "Hash key is command name like 'finish' and the value is
 the ipdb command to use, like 'return'")
 
-(setf (gethash "pdb" realgud-command-hash) realgud:ipdb-command-hash)
+(setf (gethash "ipdb" realgud-command-hash) realgud:ipdb-command-hash)
 
-;; Mappings between PDB-specific names and GUD names
+;; Mappings between ipdb-specific names and GUD names
 (setf (gethash "finish" realgud:ipdb-command-hash) "return")
 (setf (gethash "kill" realgud:ipdb-command-hash) "quit")
 (setf (gethash "backtrace" realgud:ipdb-command-hash) "where")
 ;; Clear in Python does both the usual “delete” and “clear”
 (setf (gethash "delete" realgud:ipdb-command-hash) "clear %p")
 (setf (gethash "clear" realgud:ipdb-command-hash) "clear %X:%l")
-;; Use ‘!’ instead of ‘p’, since ‘p’ only works for expressions, not statements
-(setf (gethash "eval" realgud:ipdb-command-hash) "!%s")
+(setf (gethash "eval" realgud:ipdb-command-hash) "pp %s")
 
 ;; Unsupported features:
 (setf (gethash "shell" realgud:ipdb-command-hash) "*not-implemented*")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]