Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mobile DevOps

You're reading from  Mobile DevOps

Product type Book
Published in Mar 2018
Publisher Packt
ISBN-13 9781788296243
Pages 376 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Rohin Tak Rohin Tak
Profile icon Rohin Tak
Jhalak Modi Jhalak Modi
Profile icon Jhalak Modi
View More author details

Table of Contents (13) Chapters

Preface 1. Introduction 2. Working with Code Repository Systems 3. Cross-Platform Mobile App Development with Xamarin 4. Writing Your First Android Application with Xamarin 5. Implementing Automatic Testing Using Xamarin 6. Configuring TeamCity for CI/CD with Xamarin 7. CI/CD for Android with Visual Studio Team Services 8. Deploying Applications on AWS 9. Monitoring and Optimizing Application 10. Debugging the Application 11. Case Studies 12. Other Books You May Enjoy

Android debug log

As mentioned in previous sections of this chapter, we have seen how to use the Console.WriteLine() method to write some output steps while debugging in Visual Studio.

However, on a mobile platform like Android, there is no console and it is only available for us during debugging in Visual Studio. Android devices provide a log that you can utilize while coding Android apps. This is also known as logcat due to the command used to retrieve this log.

To access this from Visual Studio, follow these steps:

  1. Either you can directly click on the Device Log (logcat) icon from the Android tools in the toolbar, or you can go to Tools | Android | Device Log:
  1. This will open a new window where you can choose the device your application is running on. The application needs to be running on a physical device to be clear, since it is debugging when the app is running on the...
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 $15.99/month. Cancel anytime}