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.
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:
18.220.124.177