[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 50dc7db 022/140: Info ...
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud 50dc7db 022/140: Info ... |
Date: |
Sat, 25 May 2019 19:35:23 -0400 (EDT) |
branch: externals/realgud
commit 50dc7db07d72239ce36a6e5293e85683982686a0
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Info ...
Document what's known about the backtrace-init infinite loop.
Correct and expand install instructions.
---
INSTALL.md | 14 ++++++++++++--
realgud/common/buffer/backtrace.el | 7 +++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/INSTALL.md b/INSTALL.md
index cc7f7dd..3990d1c 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,5 +1,15 @@
* Have `test-simple`, `loc-changes`, `cl-lib` and `load-relative` installed.
* From inside emacs, evaluate:
```lisp
- (compile (format "EMACSLOADPATH=:%s:%s ./autogen.sh" (file-name-directory
(locate-library "test-simple.elc")) (file-name-directory (locate-library
"realgud.elc"))))
-```
+ (compile (format "EMACSLOADPATH=:%s:%s:%s:%s ./autogen.sh"
(file-name-directory (locate-library "test-simple.elc")) (file-name-directory
(locate-library "load-relative.elc")) (file-name-directory (locate-library
"loc-changes.elc")) (file-name-directory (locate-library "realgud.elc")) ))
+ ```
+
+After this you should be able to run:
+
+ $ make # byte compile everything
+ $ make check # run unit tests
+ $ make install # may need to prefix with sudo
+
+
+Also you can run from the source directory by running `eval-current-buffer`
+when inside to top level `realgud.el` (that's the one that is in this folder).
diff --git a/realgud/common/buffer/backtrace.el
b/realgud/common/buffer/backtrace.el
index 448927a..30f3a59 100644
--- a/realgud/common/buffer/backtrace.el
+++ b/realgud/common/buffer/backtrace.el
@@ -407,6 +407,13 @@ filename, line number, whether the frame is selected as
text properties."
;; FIXME: Remove hack that group 1 is always the frame indicator.
(frame-indicator
(substring stripped-string (match-beginning 1) (match-end 1)))
+ ;; From https://github.com/realgud/realgud/pull/192
+ ;; Each frame of backtrace is searched via string-match
+ ;; invocation and a position of the current frame is
+ ;; updated via (setq last-pos (match-end 0)) in the end of
+ ;; the loop. But somewhere in the body of the loop (I do
+ ;; not know exactly where), there is another call to
+ ;; string-match and it messes up all positions.
(whole-match-begin (match-beginning 0))
(whole-match-end (match-end 0))
(frame-num-pos)
- [elpa] externals/realgud 3d0fcb8 002/140: Match nested prompts in python trepan debuggers, (continued)
- [elpa] externals/realgud 3d0fcb8 002/140: Match nested prompts in python trepan debuggers, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ad333ac 006/140: realgud-bp-line-{en/di}sabled-face change..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud b3719fa 005/140: Add autoloads for defalias debugger invocations, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 839954a 016/140: Add more default commands modelled from gdb, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f884fe7 003/140: Simplify and perhaps generalize, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 7c0d2c4 007/140: fixed unload; added ert-based tests for realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0647be7 015/140: Spelling typos, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 8beb4f5 009/140: Merge pull request #182 from roymath/master, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 211c01a 014/140: Fix misfeatures in install-from-git.sh..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 3f1b98f 010/140: (realgud:load-features) now features loaded, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 50dc7db 022/140: Info ...,
Rocky Bernstein <=
- [elpa] externals/realgud c7594f0 032/140: wrong 'let' syntax - caught thanks to the jodonnell's test!, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 37ba671 037/140: Comment better a track test, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud eeb4c2f 013/140: Bug in last commit., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 811e7b9 036/140: < -> <=. See comment before, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2295d94 024/140: making eval print to the message area, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 83d471f 008/140: return the set of features removed, in realgud:unload-features(), Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f41b7a7 017/140: When a breakpoint is seen, add source..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 1f59502 021/140: Merge pull request #192 from dvzubarev/master, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud da2f39d 011/140: Improve Debugger Info org-mode buffer, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ecc78f1 012/140: Fix up breakpoint display, Rocky Bernstein, 2019/05/25