New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

How to generate profiling code in xcode 3


Post Reply New Thread Subscribe

 
Thread Tools
scamden

 
Member Since: Jul 24, 2009
Posts: 1
scamden is on a distinguished road

scamden is offline
Hi,
I'm trying to generate profiling code that I can look at in gprof using xcode 3 on an intel based macbook (running 10.5). I can't get a gmon.out file for the life of me. Even if i compile directly with gcc from the command line. Any ideas why this won't work? Any ideas how to utilize the traditional -pg option to get profiling code?

Thanks,
Sterling
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
You might want to look into Instruments (supplied) and CLANG analyzer (a free download).

Sorry, I don't know about gprof. Actually I'm not familiar enough with the above tools, but they are what Cocoa developers seem to be into.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« AppleScript application | SSH Login w/ Terminal »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to navigate code in XCODE yinglcs OS X - Development and Darwin 0 05-02-2009 07:56 PM
Xcode: "Command /Developer/usr/bin/g++-4.0 failed with exit code 1" HELP finnm OS X - Development and Darwin 1 10-15-2008 10:57 AM
XCode Debugging From Source Code deanrayj OS X - Development and Darwin 0 04-25-2008 09:33 PM
help me convert something, please. krrose27 Switcher Hangout 4 05-25-2007 02:10 AM
New Xcode plug-in helps developers reuse code Murlyn OS X - Development and Darwin 0 11-10-2003 12:16 PM

All times are GMT -4. The time now is 05:12 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?