I’ve written some code that is crashing when run with a multiple objects reference unclear error and I don’t understand why there are multiple objects in scope.
Is there a way to pause the app using #if debugbuild so that I can single-step through the malfunctional code and see exactly what is happening?
Ken Tekinay is correct. I stepped away from using RB for a while thanks to CS classes teaching other languages and forgot about the breakpoints! How do I set/remove one?
I use to add a Beep and set the breakpoint there. You may use something else, then use the MenuItem to remove all breaks (Clear All or Show All and Turn On)
Yes, there is a MenuItem to add a Breakpoint ! We (I) learn things every days
Or, like Kem suggests, instead of “break” use a statement that has no real effect then place a breakpoint on it. This has the virtue of allowing you do disable once you hit it the first time, but still otherwise keep the debug session going without having to break each time your condition is hit.