Book Image

HoloLens Beginner's Guide

By : Jason M. Odom
Book Image

HoloLens Beginner's Guide

By: Jason M. Odom

Overview of this book

HoloLens revolutionizes the way we work and interact with the virtual world. HoloLens brings you the amazing world of augmented reality and provides an opportunity to explore it like never before. This is the best book for developers who want to start creating interactive and intuitive augmented reality apps for the HoloLens platform. You will start with a walkthrough of the HoloLens hardware before creating your first app. Next you will be introduced to the various HoloLens sensors and find out how to program them efficiently so that they can interact with the real world seamlessly. Moving on, you will learn how to create smart animations and add video overlay that implements real-time tracking and motion-sensing abilities to your HoloLens app. Finally, you will learn how to test your app effectively.
Table of Contents (18 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface

Debugging


Once we get our projects to a place where we can run them, we will begin testing the software, looking for errors, and attempting to find solutions to correct these errors. Debugging is the name given to the process of finding and getting rid of the problems in our software. This process can be accomplished in numerous ways, from simple console warnings to using far more elaborate software. We will go over all the options we have with the Visual Studio and Unity setup.

The primary categories of errors that occur can be broken down into the following:

  • Syntax errors: These types of bugs do not affect us in the testing phase because if they occur, we cannot test; the application will not run at all.
  • Logic errors: Infinite loops, index out of range errors.
  • Arithmetic errors: In my mind, this is a subcategory of logic errors. When the math is wrong, the application will behave erratically and it can be painful to track down the problem.
  • Resource or Runtime errors: These are access violations...