1.在xcode菜单Project->New Customer Executable..
取名如“otest",Path填”Developer/user/bin/otest”
2.右键Executables下新建的otest,选择“Get Info”,在Arguments下
加参数
-SenTest self
UnitTests.octest
UnitTests.octest为单元测试的bundle
再加环境变量
Name | Value |
DYLD_ROOT_PATH | $(SDKROOT) |
DYLD_FRAMEWORK_PATH | {BUILD_PRODUCTS_DIR}:${SDK_ROOT}:${DYLD_FRAMEWORK_PATH} |
IPHONE_SIMULATOR_ROOT | $(SDKROOT) |
CFFIXED_USER_HOME | $(HOME)/Library/Application Support/iPhone Simulator/User/ |
OBJC_DISABLE_GC | YES |
DYLD_LIBRARY_PATH | ${BUILD_PRODUCTS_DIR}:${SDK_ROOT}:${DYLD_LIBRARY_PATH} |
DYLD_NEW_LOCAL_SHARED_REGIONS | YES |
DYLD_NO_FIX_PREBINDING | YES |
3.debug时选择otest,右键“Start otest With BreakPoint”
分享到:
相关推荐
Debugging-with-GDB-带书签
Pro-Python-Best-Practices-Debugging-Testing-and-Maintenance.pdf
Memory-and-C++-debugging-at-EA-2015
Memory-and-C++-debugging-at-EA-2015.pptx
- Changed the Memory test to wait for the Video Playback test and 3D test to allow memory allocation for these tests. - Minor changes to the No operation error watchdog timer for the CD and Hard ...
dnspy所需要的mono.dll
dnspy所需的mono.dll
Software Development, Design and Coding With Patterns, Debugging, Unit Testing, and Refactoring 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索...
This book is for intermediate to advanced iOS/macOS developers who are already familiar with either Swift or Objective-C and want to take their debugging skills to the next level. Topics Covered in ...
Debugging with gdb中文版,整理出目录结构,方便阅读。
TI达芬奇SOC处理器linux下应用的的远程调试Debugging a Linux Application with MontaVista 5.0.
Unity-debugging-4.x Unity-debugging-5.x Unity-debugging-2017.x Unity-debugging-2018.x Unity-debugging-2019.x
Debugging Systems-on-Chip
dnspy调试mono.dll
r Compiling for debugging r Starting your program r Your program's arguments r Your program's environment r Your program's working directory r Your program's input and output file:///C|/gdb.html (1 of...
调试如果克隆此实验室并运行测试,您会注意到一些事情:一切都坏了。 像,坏透了。 你猜怎么着? 修复它就在您身上! 请记住,该实验室不仅要查找和修复错误,还应了解如何查找这些错误是什么。 不要只是猜测和测试...
Compiling for debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting your program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arguments To Your ...
Debugging Tools for Windows,是为WINDOWS设计的调试程序工具,能够查看软件指令栈等功能。
Debugging-project-week-1 实用的Starter Code练习,向我们介绍了JS脚本结构,并让我们检查,探索这些脚本并为其进行UI布局。概括关于该项目当我对此有更多了解时,将在后面显示此部分。建于我使用的用于构建项目的...
目前CSDN下载频道中的微软调试工具WinDbg(即Debugging Tools for Windows)大都不适用于Win10系统,在Windows10中会报错:Could not find the xxx\MEMORY.DMP Dump File,Win32 error On87。这里提供的WinDbg10下载...