How to deal with a logless crash?

Hi Everyone,

I have a plugin that crashes Rack as soon as I load it. However no stack trace in the log, nothing. Can you offer some insight on how to deal with this? In situations like this I usually fill up the code with printfs, “got to here”, “got to there” … but as I have no console it doesn’t help in this case. Unless I could print to the log. Can I print to the log?

Thanks, Marcelo.

Actually I have found the problem … it was a divide by zero … but I still would love to hear insights on this.

Thanks, Marcelo.

if you build your own rack, just run it in the debugger. easy way is make debug. When it crashes, tell the debugger bt at it will show the stack trace leasing up to the crash.

1 Like

Rack crashing but not printing a stack trace to log.txt is a bug. Report it here. https://vcvrack.com/manual/Issues

1 Like