Debugging builds
Use this order when a build fails:
- Fix schema and missing-resource errors in the editor.
- Confirm every asset path and generated symbol, especially music, sound and graphics.
- Check the ARM compiler and Makefile output for the first actual error.
- Clean the derived build output and rebuild from the saved project.
- Test the new ROM in mGBA before trying hardware.
Do not patch generated headers or C++ to hide an invalid resource. If the same source project reproduces the failure, keep the log and the smallest failing resource set for a bug report.