Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tutorials > Tutorial Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 08-18-2008, 01:53 AM   #1 (permalink)
Registered Member
 
Stitch's Avatar
 
Join Date: Aug 2008
Posts: 400
Stitch is on a distinguished road
Default [Tutorial Request] Instruments / Debugging / Leak Fixing / Memory Checking

Guys,

With the iPhone SDK and example code it's very easy to get started and produce some results (either in the simulator or device).

The key however is checking your software is running as best it can so that it doesn't leak memory, become unstable, slow down after a period of use or even crash.

Would one of the more experienced users consider writing a tutorial for debugging / checking software / running traces with the Instruments tools or Xcode debugger?

I think a lot of people would find this useful.
(If you would like to see this tutorial please reply to this thread so people will see)

Thanks
Stitch is offline   Reply With Quote
Old 08-22-2008, 07:52 AM   #2 (permalink)
Registered Member
 
craig t mackenzie's Avatar
 
Join Date: Aug 2008
Location: London, UK
Age: 25
Posts: 53
craig t mackenzie is on a distinguished road
Send a message via AIM to craig t mackenzie
Default

*bump*

i would love to see this, i think it'll be really really valuable.
craig t mackenzie is offline   Reply With Quote
Old 08-27-2008, 05:39 AM   #3 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 4
cormacr is on a distinguished road
Default

Definitely, this would be an invaluable tutorial.
cormacr is offline   Reply With Quote
Old 09-22-2008, 10:45 AM   #4 (permalink)
kae
Registered Member
 
Join Date: Sep 2008
Posts: 26
kae is on a distinguished road
Default

Same here, would love to see a tutorial about this.
kae is offline   Reply With Quote
Old 10-03-2008, 11:37 AM   #5 (permalink)
Registered Member
 
chuck's Avatar
 
Join Date: Aug 2008
Location: Berlin, Germany
Posts: 87
chuck is on a distinguished road
Default

I would also love to see a tutorial on this!
__________________
German Course: Learn German anywhere! Chess Player: Study Chess anywhere!
chuck is offline   Reply With Quote
Old 10-09-2008, 11:37 AM   #6 (permalink)
New Member
 
Join Date: May 2008
Location: San Diego, CA
Posts: 79
cpatch is an unknown quantity at this point
Default

Me too.

Craig
__________________
Streamtree Studios
XyPhone (App Store link)
cpatch is offline   Reply With Quote
Old 10-16-2008, 12:14 AM   #7 (permalink)
Registered Member
 
Join Date: Oct 2008
Posts: 17
bleasdell is on a distinguished road
Default Debugging please

Definitely needed
bleasdell is offline   Reply With Quote
Old 10-16-2008, 04:45 PM   #8 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 5
superandrew is an unknown quantity at this point
Default

That would be great!
superandrew is offline   Reply With Quote
Old 10-16-2008, 06:10 PM   #9 (permalink)
Registered Member
 
brendand's Avatar
 
Join Date: Aug 2008
Posts: 223
brendand is on a distinguished road
Default

Yes please.
brendand is offline   Reply With Quote
Old 12-15-2008, 11:35 PM   #10 (permalink)
Mobile Application Dev.
 
Join Date: Oct 2008
Location: Bangalore, india
Posts: 362
mpramodjain is on a distinguished road
Default Must/

I am also waiting eagerly for this.......
mpramodjain is offline   Reply With Quote
Old 12-20-2008, 08:00 PM   #11 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 22
ichi is on a distinguished road
Default

i found quite a good one here...
http://www.cimgf.com/2008/04/02/coco...h-instruments/

Last edited by ichi; 12-20-2008 at 08:11 PM.
ichi is offline   Reply With Quote
Old 07-21-2009, 09:03 AM   #12 (permalink)
Registered Member
 
Join Date: Jul 2009
Posts: 3
nooge is on a distinguished road
Default Xcode Tips and Tricks Video Tutorials

Also a brief but good explanation of how to use instruments to identify a leak in the first of these videos...

Xcode Tips and Tricks Video Tutorial
nooge is offline   Reply With Quote
Old 02-19-2010, 12:15 AM   #13 (permalink)
Registered Member
 
Join Date: Feb 2010
Posts: 1
Shazam is on a distinguished road
Default Need Instruments tutorial

Quote:
Originally Posted by Stitch View Post
Guys,

With the iPhone SDK and example code it's very easy to get started and produce some results (either in the simulator or device).

The key however is checking your software is running as best it can so that it doesn't leak memory, become unstable, slow down after a period of use or even crash.

Would one of the more experienced users consider writing a tutorial for debugging / checking software / running traces with the Instruments tools or Xcode debugger?

I think a lot of people would find this useful.
(If you would like to see this tutorial please reply to this thread so people will see)

Thanks

Yes, it would be very very helpful. Kindly let me know the link.
Shazam is offline   Reply With Quote
Old 02-19-2010, 12:30 AM   #14 (permalink)
Pro. Game Developer
iPhone Dev SDK Supporter
 
Join Date: Feb 2009
Location: ¿La Islas Hermosas?
Posts: 2,176
Kalimba is on a distinguished road
Default

Quote:
Originally Posted by Shazam View Post
Yes, it would be very very helpful. Kindly let me know the link.
Ummm... the OP is over 16 months old, but whatever.
__________________
~~ Word Flurry ~~ App Store / Website / Facebook
Kalimba is offline   Reply With Quote
Old 06-08-2010, 12:34 AM   #15 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 10
black2842 is on a distinguished road
Default

Thank you for the tuts
black2842 is offline   Reply With Quote
Old 10-28-2010, 06:30 AM   #16 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 2
kontakt_2003 is on a distinguished road
Default Thanks a lot!

Thanks a lot!
kontakt_2003 is offline   Reply With Quote
Old 10-28-2010, 06:32 AM   #17 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 2
kontakt_2003 is on a distinguished road
Default Yes!

I want to see
kontakt_2003 is offline   Reply With Quote
Old 11-23-2010, 01:31 AM   #18 (permalink)
Registered Member
 
SDKProgrammer's Avatar
 
Join Date: Jan 2010
Posts: 13
SDKProgrammer is on a distinguished road
Default

ive got some leaks but i just dont know how to fix them
SDKProgrammer is offline   Reply With Quote
Old 12-03-2010, 03:09 AM   #19 (permalink)
Registered Member
 
Join Date: May 2009
Posts: 59
lxLionHartxl is on a distinguished road
Default .

BUMP.

I will sure look forward for this tutorial. I know how to see a debugger but do not know how to fully utilize it. All the tutorials around shows the basic of using the debuggers, I am looking for something more advanced.
lxLionHartxl is offline   Reply With Quote
Old 12-07-2010, 05:45 PM   #20 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 7
mdejong1024 is on a distinguished road
Default Automatic cleanup util is a good start.

A good way to save time and avoid memory leaks is to use this AutoPropertyRelease class, see example #5:

iOS SDK Example Code

Use this util to automatically release properties of classes. It is a lot easier than manually writing all the lines of a dealloc method. Just try it in your view classes, you will be surprised how many leaks this fixes.
mdejong1024 is offline   Reply With Quote
Old 03-10-2011, 04:50 AM   #21 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 7
paky is on a distinguished road
Default

sono curiosio di vedere il tutiral mi serve molto
paky is offline   Reply With Quote
Old 11-04-2011, 01:30 PM   #22 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 1
huyxuhao is on a distinguished road
Default Yes please!

Yes please!
huyxuhao is offline   Reply With Quote
Old 01-23-2012, 12:44 AM   #23 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 2
asaid is on a distinguished road
Default wanna se it

me too
asaid is offline   Reply With Quote
Old 01-23-2012, 12:45 AM   #24 (permalink)
Registered Member
 
Join Date: Dec 2010
Posts: 2
asaid is on a distinguished road
Default

Quote:
Originally Posted by Stitch View Post
Guys,

With the iPhone SDK and example code it's very easy to get started and produce some results (either in the simulator or device).

The key however is checking your software is running as best it can so that it doesn't leak memory, become unstable, slow down after a period of use or even crash.

Would one of the more experienced users consider writing a tutorial for debugging / checking software / running traces with the Instruments tools or Xcode debugger?

I think a lot of people would find this useful.
(If you would like to see this tutorial please reply to this thread so people will see)

Thanks
like
asaid is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On



» Advertisements
» Stats
Members: 175,696
Threads: 94,139
Posts: 402,961
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jasper_muc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:01 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0