How to print a string representation of the receiver followed by an arbitrary "label"?

Hello everyone!

Some time ago, to clarify certain processes in complex algorithms, I used a method that allowed me to print and also assign a “label” to the print.

Something similar to .trace(prefix: "value: "), but for sclang processes.

Does anyone know how to do it?

Thanks in advance! :slight_smile:

Probably the most convenient way is something.debug("label")

hjh

1 Like

It’s perfect James! Thank you!