On 01/08/2016 05:46 PM, Jonathan Wilkes via Pd-list wrote:
Pd doesn't have an internal object that can do that. But the pd_error function is in m_pd.h. That means someone can easily make an external [error] that takes an incoming pd message and outputs it as a pd error. Doing so would print a trackable error to the console that tracks back to the relevant [error] object that generated the error. There is probably already an object that does that in the big pile of Pd-extended externals.
a couple: the "log" library has an [error] object, which does exactly this.
i find this a bit inconvenient because the "find last error" will get you to the [error] object itself, rather than to the object that actually threw the error (the abstraction wherein the [error] was generated).
therefore, iemguts' [canvaserror] will mark an upstream canvas as the trackable object, so the user is lead to the (imo) "correct" object.
gfmadsr IOhannes