[PD-dev] [pure-data:patches] #554 make un-created objects findable

Ticket 554 554 at patches.pure-data.p.re.sf.net
Mon Aug 24 15:51:19 CEST 2015




---

** [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-created-objects-findable.patch) (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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20150824/6f4bfeb9/attachment.html>


More information about the Pd-dev mailing list