Book Image

Panda3D 1.7 Game Developer's Cookbook

Book Image

Panda3D 1.7 Game Developer's Cookbook

Overview of this book

Table of Contents (20 chapters)
Panda3D 1.7 Game Developer's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Debugging C++ code


Although this book is very Python-centric, we should not forget that the core of Panda3D is written in C++. Additionally, it is possible to extend the engine with our own native libraries. Not only that, but we're even able to drop Python and write our games in pure C++.

Even if we intend to write our games completely in Python, there might be this one occasion coming up in the future where we wished we had read the recipe about using the C++ debugger of Visual Studio 2008. The following recipe will prepare us for this situation, even if it is unlikely to occur.

Getting ready

In this recipe, you are going to debug the C++ code you created in Creating a scene using C++ found in Chapter 2, Creating and Building Scenes. For this to work, you need to add the property sheet containing your project settings to the Debug configuration just as you did for the Release configuration.

To be able to debug the code of the Panda3D engine on top of your own source code, you will need a debug...