Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering CryENGINE
  • Table Of Contents Toc
Mastering CryENGINE

Mastering CryENGINE

By : Michelle Martin
4.8 (9)
close
close
Mastering CryENGINE

Mastering CryENGINE

4.8 (9)
By: Michelle Martin

Overview of this book

Table of Contents (17 chapters)
close
close
Mastering CryENGINE
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1
Index

Using the Lua debugger


Although debugging a Lua script is a bit easier than debugging the C++ code, it can sometimes be useful to have the ability to set breakpoints and step through the script. This is where the Lua debugger comes in. This very useful tool is easy to overlook since it is very well hidden, without any user interface that would let you find it.

The Lua debugger can be operated using the following two console commands:

  • lua_debugger

  • lua_debugger_show

While lua_debugger will enable the debugger, lua_debugger_show will open the debugger window to let you have a closer look at things. Take a look at the following screenshot:

The Lua debugger window

Using the Lua debugger is very similar to using any other debugger such as Visual Studio. When the debugger is active, it allows you to set breakpoints, trace points, step through your script, and look at the content of your variables more closely. The Lua debugger is available in both Sandbox and your actual CryENGINE executable.

The...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering CryENGINE
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon