
创建并
配置项目
|
-
使用满足编程需要的最佳模板创建项目。
-
为应用程序所需的库添加项目依赖关系。
-
配置项目。因为创建的项目包含了调试和发行两种配置,因此您可以修改这些配置的设置以及创建其他配置。
|
|

生成项目
|
-
选择“运行”>“生成主项目”,或者右键单击任何项目,然后选择“生成项目”。
|
|

运行项目
|
-
选择“运行”>“运行主项目”,或者右键单击任何项目,然后选择“运行项目”。
-
Use the project properties if you want to deploy the project to another location on your system or set the project to use Remote Development.
-
Profile the project to detect any runtime issues with CPU usage, memory leaks, or thread synchronization.
|
|

调试项目
|
-
在代码中设置断点或监视。
-
选择“调试”>“调试主项目”,或者右键单击任意项目,然后选择“调试项目”。也可以将调试器连接至正在运行的进程。
-
逐步执行程序。
-
查看调用栈并检查局部变量。
-
完成调试后,选择“调试”>“完成调试器会话”。
|