[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] externals/sly 1dbf876 04/47: ecl: frame-source-location: return
From: |
ELPA Syncer |
Subject: |
[nongnu] externals/sly 1dbf876 04/47: ecl: frame-source-location: return error if frame source not found |
Date: |
Thu, 17 Dec 2020 18:57:12 -0500 (EST) |
branch: externals/sly
commit 1dbf87665b7b968981838c077967918b04d3ac89
Author: Daniel Kochmanski <dkochmanski@turtleware.eu>
Commit: João Távora <joaotavora@gmail.com>
ecl: frame-source-location: return error if frame source not found
* slynk/backend/ecl.lisp (frame-source-location): Rework.
Co-authored-by: João Távora <joaotavora@gmail.com>
Cherry-pick-from: SLIME commit 9cdbf5e0d9ca70de869e9f8aeb5835a7e92ff9f8
---
slynk/backend/ecl.lisp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/slynk/backend/ecl.lisp b/slynk/backend/ecl.lisp
index f8f5174..ecb0869 100644
--- a/slynk/backend/ecl.lisp
+++ b/slynk/backend/ecl.lisp
@@ -587,7 +587,9 @@
;;; frame-restartable-p (frame)
(defimplementation frame-source-location (frame-number)
- (nth-value 1 (frame-function (elt *backtrace* frame-number))))
+ (let ((frame (elt *backtrace* frame-number)))
+ (or (nth-value 1 (frame-function frame))
+ (make-error-location "Unknown source location for ~A." (car frame)))))
(defimplementation frame-catch-tags (frame-number)
(third (elt *backtrace* frame-number)))
- [nongnu] externals/sly 7ea4480 16/47: Clasp changes to use the new line keyword arg, (continued)
- [nongnu] externals/sly 7ea4480 16/47: Clasp changes to use the new line keyword arg, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 6662cf2 29/47: sbcl: Ignore DEFGENERICs without location, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly c41b298 36/47: clasp.lisp changes to use new clasp-debug pkg, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly d8c926f 42/47: sbcl: account for SB-DI::DEBUG-FUN-DEBUG-VARS returning NIL, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 7c7f23b 46/47: Default *STRING-ELISION-LEGNTH* to 200 in *SLYNK-PPRINT-BINDINGS*, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 7bad394 09/47: Improve compiler messages for Clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly c4c7ae5 13/47: slynk-abcl: fix typo, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly c794fe6 30/47: Remove recursive locks for clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 57ffb2a 33/47: sbcl: fix access to &more vars in the debugger, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly dcfe556 02/47: Fixed sldb and backtraces in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 1dbf876 04/47: ecl: frame-source-location: return error if frame source not found,
ELPA Syncer <=
- [nongnu] externals/sly cd85cf6 35/47: Improve xref definitions for M-. in clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 6785833 37/47: clasp: implement profiling via metering, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 1346967 38/47: Remove use of compatibility accessors, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly e914200 07/47: wait-for-input: better "not implemented" error., ELPA Syncer, 2020/12/17
- [nongnu] externals/sly e883812 11/47: Fix SLYNK-SBCL:COMPILER-NOTE-LOCATION for non-file-backed streams, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 425146d 31/47: Print more code-source-location info for clasp, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 1188cfc 34/47: Ignore utf-8 encoding errors, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 4717cb9 44/47: Tolerate leading whitespace in slime-search-buffer-package, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 00cbab0 01/47: Slynk: avoid race conditions when killing threads, ELPA Syncer, 2020/12/17
- [nongnu] externals/sly 47e8d27 05/47: add architecture :aarch64 (for ECL), ELPA Syncer, 2020/12/17