I tried to create some test-packages to see if my theory held up. It didnt.
So i figured out what it was breaking on in my production code instead and managed to replicate that.
In this example the debugger breaks when a cursor calls a function.
I attached the example package and test-script...
When i debug a script, Plyxon breaks execution very many times.
The result is that i have to click "Run to completion" maybe 50 times for some scripts.
My theory is that maybe it breaks execution as soon as a new package/method is invoked?
The database packages i debug are rather big and advanced