[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 2b3ffb5 061/140: Add realgud:bashdb-large to ha
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud 2b3ffb5 061/140: Add realgud:bashdb-large to handle large bash files |
Date: |
Sat, 25 May 2019 19:35:33 -0400 (EDT) |
branch: externals/realgud
commit 2b3ffb5c375dd32a633668eec969148590b489b4
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Add realgud:bashdb-large to handle large bash files
---
realgud/debugger/bashdb/bashdb.el | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/realgud/debugger/bashdb/bashdb.el
b/realgud/debugger/bashdb/bashdb.el
index ffffbe2..9853b01 100644
--- a/realgud/debugger/bashdb/bashdb.el
+++ b/realgud/debugger/bashdb/bashdb.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015-2016 Free Software Foundation, Inc
+;; Copyright (C) 2015-2016, 2018 Free Software Foundation, Inc
;; Author: Rocky Bernstein <address@hidden>
@@ -77,7 +77,32 @@ fringe and marginal icons.
opt-cmd-line no-reset)
)
+(defun realgud:bashdb-large (&optional opt-cmd-line no-reset)
+ "Use this is the program you are debugging is large, say over 1,000 lines or
so.
+"
+ (interactive)
+ (let ((cmd-buf
+ (realgud:run-debugger "bashdb"
+ 'bashdb-query-cmdline
+ 'bashdb-parse-cmd-args
+ 'realgud:bashdb-minibuffer-history
+ opt-cmd-line no-reset)
+ ))
+ (if cmd-buf
+ (let ((process (get-buffer-process cmd-buf)))
+ (if (and process (eq 'run (process-status process)))
+ (with-current-buffer cmd-buf
+ (sleep-for 1)
+ (realgud-command "frame 0" nil nil nil)
+ )))
+ )
+ ))
+
+
;;;###autoload
(defalias 'bashdb 'realgud:bashdb)
+;;;###autoload
+(defalias 'bashdb-large 'realgud:bashdb-large)
+
(provide-me "realgud-")
- [elpa] externals/realgud 90fe351 033/140: More Emacs-gaurded handling of realgud:join-string, (continued)
- [elpa] externals/realgud 90fe351 033/140: More Emacs-gaurded handling of realgud:join-string, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 53b0c1a 040/140: Be Explicit about eval command ..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4babac3 042/140: Track changes in elpa:, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 348f73a 049/140: Merge pull request #198 from jodonnell/refactor, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 3804711 045/140: Get ready for 1.4.4 release. Admnistrivia, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 61fbadb 052/140: Merge pull request #199 from jodonnell/whoops, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 3a2e300 055/140: Merge pull request #200 from jodonnell/move-bps, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud b86a9df 054/140: refactor breakpoints further, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ba91d87 058/140: Add realgud-populate-common-fn-keys-none to not set function keys..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 210bd76 053/140: moving breakpoint functions to more central locations, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2b3ffb5 061/140: Add realgud:bashdb-large to handle large bash files,
Rocky Bernstein <=
- [elpa] externals/realgud aa13be4 050/140: Some test lint'ing, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 3372328 067/140: Add "until" to correct command hash, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud df03ba5 029/140: Merge pull request #195 from jodonnell/eval-at-point, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 28fa560 065/140: Make fringe arrows a little more colorful, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f819efd 066/140: Add pprint to command hash, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud cf7faca 069/140: Merge pull request #209 from dangirsh/patch-2, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2eb9519 063/140: small changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 3ccd602 057/140: Merge pull request #201 from jodonnell/spelling, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 5d52fbf 056/140: fix spelling error, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 8480545 041/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25