Break point for debugging

Is there any thing like a breakpoint in SC for debugging, so for instance I want to put a breakpoint in a Synth at some place so that the synth stops executation there? Or Is there a similar concept in SC for debugging?

Not in SC… many of us would love that.
In the past, though, I have run SC in debug mode in Xcode on a Mac. With that, you can breakpoint inside the c++ ugen code. Not what you are asking for, but I have found it handy so I thought I’d mention it.

/*
Josh Parmenter
www.realizedsound.net/josh
*/

1 Like

The next best thing is to print out some output. For code that runs on the server (a synth) you can use the “poll” method or the Poll class (Poll | SuperCollider 3.12.2 Help)

also see: Debugging tips | SuperCollider 3.12.2 Help

1 Like