Loading video player...
School of Solana - Lesson 5 - Season 8 In the previous lessons, you learned how to create Solana programs. However, while implementing your program ideas, you may have encountered two common problems. First, you’re unsure how to debug the program. It shows errors, tests aren’t passing, and you’re not sure what to do next. Second, your code has become long and hard to manage, resembling spaghetti code, with everything contained in a single file. In this lesson, we’ll show you how to handle both scenarios. By following best debugging practices, you’ll save time by knowing where to look for issues. Good development practices will not only help auditors reviewing your code but also make it easier for you to understand your program when you return to it after a few months. Join School of Solana: https://ackee.xyz/school-of-solana Hands-On Sample code: https://github.com/Ackee-Blockchain/sos-debugging-lecture/tree/01-SignatureVerificationFailed Lesson 5 Resources: https://github.com/Ackee-Blockchain/school-of-solana/tree/master/5.lesson Timestamps 00:00 - Introduction 01:44 - Modularize your code 06:58 - Visualize flow 09:09 - GitHub pipelines 11:52 - Do not rely on back-end 12:56 - Test! 18:15 - Hands On 01:00:00 - Outro