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

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

[elpa] externals/realgud f819efd 066/140: Add pprint to command hash


From: Rocky Bernstein
Subject: [elpa] externals/realgud f819efd 066/140: Add pprint to command hash
Date: Sat, 25 May 2019 19:35:34 -0400 (EDT)

branch: externals/realgud
commit f819efd4d5edddee38618a5e53a6205c3a714b05
Author: Dan <address@hidden>
Commit: GitHub <address@hidden>

    Add pprint to command hash
    
    In my debug mode, I'd like hitting "p" on a symbol to pretty print its 
value in the debugger via realgud:cmd-run-command. For this, the command hash 
must include an entry for "pp".
---
 realgud/debugger/trepan3k/init.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/realgud/debugger/trepan3k/init.el 
b/realgud/debugger/trepan3k/init.el
index ed4740d..9efec09 100644
--- a/realgud/debugger/trepan3k/init.el
+++ b/realgud/debugger/trepan3k/init.el
@@ -114,6 +114,7 @@ realgud-loc-pat struct")
   the trepan3k command to use, like 'python'")
 
 (setf (gethash "eval"  realgud:trepan3k-command-hash) "eval %s")
+(setf (gethash "pprint" realgud:trepan3k-command-hash) "pp %s")
 (setf (gethash "shell" realgud:trepan3k-command-hash) "python")
 (setf (gethash "until" realgud-command-hash) "continue %l")
 



reply via email to

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