Debug tes programmes et applications.
LLDB expliqué
DEBUG un programme : Terminal (Xcode et autres inclus)
lldb nom_du_programme # Débogueur LLDB
│ lldb nom_de_lapplication.app
│ │
└───────└──> dans lldb ─> run # lance le programme
├───> exit # sort de lldb
├───>
├───>
Tu auras un maximum d'informations, si un fichier n'a pas pû être trouvé, si tu as accédé à une pointeur inexistant ou mal initialisé..
-[ApplicationController mouseMoved:]: unrecognized selector sent to instance 0x95f982e60 air-lld command failed with exit code 1 (use -v to see invocation) .- unrecognized selector sent to instance
- → une classe a été déclarée sans ses méthodes obligatoires
- air-lld command failed with exit code 1 (use -v to see invocation)
- → tu as deux shaders du même nom dans ton projet
- EXC_BAD_ACCESS / frame#: libobjc.A.dylib`objc_msgSend
- → ton programme appelle une méthode (objc_msgSend) sur un pointeur Objective-C invalide ou libéré.
- Multiple commands produceMultiple commands produce
- → doublon dans les build phases (assets).