Re: Seeking advice on debugging "real time" programs.
Re: Seeking advice on debugging "real time" programs.
- Subject: Re: Seeking advice on debugging "real time" programs.
- From: David Dunham <email@hidden>
- Date: Tue, 4 Apr 2006 13:00:17 -0700
On 4 Apr 2006, at 12:50, j o a r wrote:
Sure, set MallocStackLogging and then use leaks from the command
line. (You'd set a breakpoint at a spot when you expect memory to
be cleaned up -- in my case at the end of main().)
The "leaks" command line utility doesn't work like that. You can
run it at any time, because it looks for references to _orphaned_
memory, not just any memory that hangs around when you're done
executing. Of course, the longer you wait, the more orphaned memory
you are likely to see if you have memory leaks, but usually they
rear their ugly little heads much sooner than that.
I'm sure you're right, but in our app (with reference counting) I get
a ton of false positives if I check at arbitrary times.
David Dunham http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden