Discovering errors - The-Villains/MajorelleMysteryApp GitHub Wiki
When there is an error in our application the application usually stops and jumps to the line of code where the incident had happened.
In general is advisable to check the error console for issues during execution:
You can then try to set a break point just before that line, what is happing there, as already described in that wiki page.