How use Instruments and display the console in Command Lines applications
I'm using Xcode on OSX to develop command line C applications. I would also like to use Instruments to profile and find memory leaks. However, I couldn't find a way to display the console when launching the application from within Instruments. I'm also unable to attach to a running command line process (it exits with an error): Here's an example code:
Here's the error I got after launching Instruments, and trying to attach to the running process in xcode:
Any thoughts?
|
|||
add comment |
See this question for From Brad Larson therein:
Edit: If that didn't work, you may just need to restart your computer. Have you done that yet? |
最新文章
- iOS 7 与 Xamarin - MultiPeer Connectivity(转载)
- C#中泛型和单链表
- leetcode–Binary Tree Maximum Path Sum
- VS2013 单元测试(使用VS2013自带的单元测试)
- java读取远程url图片,得到宽高
- Mac os 进行Android开发笔记(1)
- Python 3.3 try catch所有的错误Error,不包括Exception。关键在于 sys.exc_info()
- LeetCode 380. Insert Delete GetRandom O(1) (插入删除和获得随机数 常数时间)
- 笔记:Spring Cloud Eureka 服务发现与消费
- Digilent Xilinx USB Jtag cable
- json相关安全问题
- Hive执行sql文件
- ODBC的JAR包和PLSQL
- Greenplum5.16.0 安装教程
- 大话+图说:Java字节码指令——只为让你懂
- Kafka Java API操作topic
- 【POJ】1026.Cipher
- linux下设置opencv环境变量
- C# 中运行exe程序
- 为什么是link-visited-hover-active
热门文章
- OpenCV 编程简单介绍(矩阵/图像/视频的基本读写操作)
- Base64实现android端图片上传到server端
- ECshop lib_base.php on line 1241 错误解决方法
- codeforces 459D - Pashmak and Parmida&;#39;s problem【离散化+处理+逆序对】
- WPF Media 简单的播放器
- Spring事务讲解示例(转)
- 冒泡排序算法 C++和PHP达到
- simple factory, factory method, abstract factory
- top 查看资源使用
- SDL 简单入门学习