Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Lua Quick Start Guide

You're reading from   Lua Quick Start Guide The easiest way to learn Lua programming

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789343229
Length 202 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Gabor Szauer Gabor Szauer
Author Profile Icon Gabor Szauer
Gabor Szauer
Arrow right icon
View More author details
Toc

Debugging Lua

In the last chapter, you learned how to use some of Lua's, built-in modules and how to create your own module. At this point, you know most of the libraries and concepts Lua has to offer. This chapter will help you understand what to do when unintended bugs creep into your code.

Some of the properties that make Lua extremely powerful also make it easy to introduce unintended bugs. Sometimes, even the simplest of bugs can take a significant amount of effort to fix. Lua provides powerful debug libraries that help make these bugs easier to track down and resolve. In addition to debug libraries, a number of great external tools also exist.

In this chapter, we are going to cover the following topics:

  • The debug library
  • Error-handling in Lua
  • Profiling
  • Integrated development environments
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 $19.99/month. Cancel anytime