Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Flutter for Beginners - Third Edition

You're reading from  Flutter for Beginners - Third Edition

Product type Book
Published in Oct 2023
Publisher Packt
ISBN-13 9781837630387
Pages 406 pages
Edition 3rd Edition
Languages
Authors (2):
Thomas Bailey Thomas Bailey
Profile icon Thomas Bailey
Alessandro Biessek Alessandro Biessek
Profile icon Alessandro Biessek
View More author details
Toc

Table of Contents (20) Chapters close

Preface 1. Part 1:Learning the Core Concepts
2. Chapter 1: What Is Flutter and Why Should I Use It? 3. Chapter 2: An Introduction to Dart 4. Chapter 3: Flutter versus Other Frameworks 5. Chapter 4: Dart Classes and Constructs 6. Part 2:Building a Basic Flutter App
7. Chapter 5: Building Your User Interface through Widgets 8. Chapter 6: Handling User Input and Gestures 9. Chapter 7: Let’s Get Graphical! 10. Chapter 8: Routing – Navigating between Screens 11. Part 3:Turning a Simple App into an Awesome App
12. Chapter 9: Flutter Plugins – Get Great Functionality for Free! 13. Chapter 10: Popular Third-Party Plugins 14. Chapter 11: Using Widget Manipulations and Animations 15. Part 4:Testing and Releasing Your App
16. Chapter 12: Testing and Debugging 17. Chapter 13: Releasing Your App to the World 18. Index 19. Other Books You May Enjoy

Debugging your app

Debugging is an important part of software development. Small mistakes, strange behaviors, and complex bugs can be solved with the help of debugging. With debugging, we can do the following:

  • Make logic assertions
  • Determine the required improvements
  • Find memory leaks
  • Perform flow analysis

Flutter provides multiple tools to help you debug your app, but the easiest way to debug is via the IDE, so let’s start there.

Debugging in the IDE

To be able to debug within your IDE, you first need to run your app from within your IDE. If you are running Visual Studio Code, then you will see a RUN AND DEBUG button on the left-hand side of the IDE, which looks like an arrow with a bug on it. Click this; at the top of the section, you will see a Run debugging button beside the name of the Flutter project, hello_world:

Figure 12.1 – Running Flutter from Visual Studio Code

Figure 12.1 – Running Flutter from Visual Studio Code

Note that you may need to add a reference...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}