branch: master
commit fc84e017a24aa2ef333ba5835d27d46dfc642422
Author: rocky <ro...@gnu.org>
Commit: rocky <ro...@gnu.org>

    In pdb, for to evaluate an expression use "p"
---
 realgud/debugger/pdb/init.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/realgud/debugger/pdb/init.el b/realgud/debugger/pdb/init.el
index c45c55a..8a7b056 100644
--- a/realgud/debugger/pdb/init.el
+++ b/realgud/debugger/pdb/init.el
@@ -1,4 +1,4 @@
-;;; Copyright (C) 2012 Rocky Bernstein <ro...@gnu.org>
+;;; Copyright (C) 2012, 2015 Rocky Bernstein <ro...@gnu.org>
 ;;; Stock Python debugger pdb
 
 (eval-when-compile (require 'cl))
@@ -94,6 +94,7 @@ realgud-loc-pat struct")
   the pdb command to use, like 'python'")
 
 (setf (gethash "shell" realgud:pdb-command-hash) "python")
+(setf (gethash "eval"  realgud:pdb-command-hash) "p %s")
 (setf (gethash "pdb" realgud-command-hash) realgud:pdb-command-hash)
 
 (provide-me "realgud:pdb-")

Reply via email to