Native part debugging

As explained in Chapter 2, Game User Interface, debugging is a powerful feature that helps to find bugs in code. It supports breakpoints, step-by-step execution, and monitoring the values of variables. Also in case of the native part of the project, it can be very useful for developers. However, by default it is disabled and you cannot stop the program execution when it has reached a line with a breakpoint.

Note

At any given time, debugging can be active either in the managed or the native project. Simultaneously debugging both kinds of projects is not supported.

To enable debugging of the native part of the project you should open the properties of the SpaceAim3D project (the managed one) by choosing the Properties option from the context menu. Then, on the Debug tab, choose the Native Only option for UI Task in the Debugger Type group, as presented in the following screenshot:

Native part debugging
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.124.177