Is there an easy way to track down the source of an “OutofBoundsException was not handled” error? I decided to make improvements on a program I wrote and now that error is being thrown when it is opened as a standalone, not when run from Xojo itself. What are some of the common causes?
The most common cause is a difference in file access / paths. If you have any hard-coded paths or if you are opening anything in the same folder as the application (no path), then check those first. Use System.DebugLog to print out information, or just a few “I am here” messages, and make note of where the messages stopped. That will help you narrow it down.