Christophe
Weblog
Wiki
Code
Publications
Music
projects
/
swankr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
21417cc
)
return stack frames in slime's order (most recent first)
author
Christophe Rhodes
<csr21@cantab.net>
Fri, 13 Aug 2010 16:10:16 +0000
(17:10 +0100)
committer
Christophe Rhodes
<csr21@cantab.net>
Fri, 13 Aug 2010 16:10:16 +0000
(17:10 +0100)
swank.R
patch
|
blob
|
history
diff --git
a/swank.R
b/swank.R
index dc5cbd165e7204384d1940a16d6e252ac7b8351d..c6a1ec2f0e0afe13d7e90a3910370bbb3dfe49ef 100644
(file)
--- a/
swank.R
+++ b/
swank.R
@@
-69,7
+69,7
@@
sldbLoop <- function(io, sldbState, id) {
debuggerInfoForEmacs <- function(sldbState, from=0, to=NULL) {
backtraceForEmacs <- function() {
debuggerInfoForEmacs <- function(sldbState, from=0, to=NULL) {
backtraceForEmacs <- function() {
- calls <-
sys.calls(
)
+ calls <-
rev(sys.calls()
)
if(is.null(to)) to <- length(calls)
from <- from+1
calls <- lapply(calls[from:to], { frameNumber <- from-1;
if(is.null(to)) to <- length(calls)
from <- from+1
calls <- lapply(calls[from:to], { frameNumber <- from-1;