thanks everyone for answering,
and for explaining my persistent blind spot.
i stumbled over it, because of a patch which gave continuously an
error message
"no method for 'abc'".
but 'finding last error' always said 'sorry...'.
my question: is there any useful (hidden) info in this message/fact, that Pd sees the error but can't tell where it happened?
rolf
In my opinion, that's a bug in pd's error finding system - probably because the list functions came in after the error finder was implemented, and it has not been updated to find list errors yet.
On Thursday, January 23, 2014, rolfm@dds.nl wrote:
thanks everyone for answering,
and for explaining my persistent blind spot.
i stumbled over it, because of a patch which gave continuously an error message "no method for 'abc'".
but 'finding last error' always said 'sorry...'.
my question: is there any useful (hidden) info in this message/fact, that Pd sees the error but can't tell where it happened?
rolf
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Here are some hints:
[namecanvas c]
[abc( | [s c]
Or:
[abc( | [s pd]
Then there's plain old "error", which prints out the word "error:" to the Pd window followed by whatever the error is. This is how the "argument number out of range" error works. There's no reference to the thing that caused the error, so you cannot search for it using "Find last error".
Unfortunately it looks like "pd_error" can't be used because the error is caught in the midst of Pd parsing the message (in binbuf_eval of m_binbuf.c). At that point it doesn't look like it keeps track of the object which sent the message. Perhaps it could highlight the next object which would have received the message, I'm not sure.
-Jonathan
On Thursday, January 23, 2014 9:23 AM, "rolfm@dds.nl" rolfm@dds.nl wrote:
thanks everyone for answering,
and for explaining my persistent blind spot.
i stumbled over it, because of a patch which gave continuously an error message "no method for 'abc'".
but 'finding last error' always said 'sorry...'.
my question: is there any useful (hidden) info in this message/fact, that Pd sees the error but can't tell where it happened?
rolf
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list