2 Oct 2004 07:58
Problem with cedet-edebug...
Ken Coleman <ken_coleman <at> iname.com>
2004-10-02 05:58:45 GMT
2004-10-02 05:58:45 GMT
Hi all,
Just started playing around with cedet more extensively, and ran into a
problem where edebug breaks when encountering certain data structures
(alists) and trying to print them. This is with a very recent CVS
Emacs on both Mac OS X and GNU/Linux, and cedet-1.0beta3b.
Specifically, if you instrument the following code for edebug-ging, and
then run the kjc-test-defun function to trigger edebug and just hit
space at each stop point to move to the next one, you'll eventually run
into an error that's listed below.
(setq kjc-test '(("foo" . "bar")))
(defun kjc-test-defun ()
(let ((a kjc-test))
(car a)))
Wrong type argument: listp, "bar"
error: "Cannot return from the debugger in an error" [4 times]
At this point, edebug has given up, apparently due to it seeing this as
an internal error.
I'll admit, I find this error pretty strange - I thought that listp
couldn't actually cause an error if given a non-list argument, but it
seems to be (or possibly the message I'm seeing is unrelated). I
couldn't get a stack trace for some reason - perhaps it's because
edebug has turned off that stuff as it does its internal update to
print the result into the minibuffer.
(Continue reading)
RSS Feed