---
** [patches:#554] make un-created objects findable**
**Status:** open **Group:** bugfix **Labels:** error-messages puredata-dev **Created:** Mon Aug 24, 2015 01:51 PM UTC by Anonymous **Last Updated:** Mon Aug 24, 2015 01:51 PM UTC **Owner:** nobody **Attachments:**
- [0001-make-un-created-objects-findable.patch](http://sourceforge.net/p/pure-data/patches/554/attachment/0001-make-un-creat...) (2.3 kB; text/x-diff)
when an object cannot be created, Pd prints the error `foo couldn't create` so the user knows that the object failed to instantiate. unfortunately there is no way to easily find this failed object (in a huge patch).
this patch uses `pd_error()` to print the error-message, so the failed object is findable via: - *Find last error* OR - *Ctrl-clicking on the error-message*
the patch also reduces the error to a single line, so you get
[foo] ... couldn't create
rather than
foo ... couldn't create
the buf0-logic works even if resizebytes() actually fails...
---
Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to http://sourceforge.net/p/pure-data/patches/
To unsubscribe from further messages, a project admin can change settings at http://sourceforge.net/p/pure-data/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
On 08/24/2015 03:51 PM, Ticket 554 wrote:
when an object cannot be created, Pd prints the error `foo couldn't create` so the user knows that the object failed to instantiate. unfortunately there is no way to easily find this failed object (in a huge patch).
this patch uses `pd_error()` to print the error-message, so the failed object is findable via:
- *Find last error*
OR
- *Ctrl-clicking on the error-message*
btw, is there actually a *reason* why current Pd doesn't allow to "find" a "couldn't create"-error?
if not, that patch fixes it.
gfmasrd IOhannes