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: Wed, 5 Apr 2006 19:50:08 -0700
On 5 Apr 2006, at 18:58, John Draper wrote:
when I bring up the console, I get a lot of this...
Looking for devices matching vendor ID=1193 and product ID=8718
1. You don't use the console for this, you use the terminal
When I launch the application from the finder, the only way I can
see NSLog output
is through the Console, and NOT the terminal, right?
Yes, but that has nothing to do with finding leaks.
I looked at my source code, but what is this?
"_ZN5resip10infoServerC4Ev" I don't have such
a class or function.
Looks like a mangled name, but C++filt isn't unmangling it...
Someone else mentioned that... so why wouldn't the C++ filter
unmangle it?
If I click on the File Icon it brings up a totally unrelated C++ file.
You'd have to show us the infoServer() constructor.
Did you turn on MallocGuardEdges, MallocScribble,
MallocPreScribble? These are environment variables you can set
via Xcode (or a terminal session).
Yes - I did all that. I added most of them, so I just Check them
when I want to activate them.
It Did find a buffer overrun problem, but after fixing that, it
didn't fix the Mutex.Lock() hang
problem
malloc is thread-safe, so I wouldn't expect any of its tools to be
generally useful dealing with threading issues.
David Dunham A Sharp, LLC
Voice/Fax: 206 783 7404 http://a-sharp.com
"People seem to misinterpret complexity as sophistication" -- Niklaus
Wirth
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