Re: problem with source code debugging for dynamically linked libraries
Re: problem with source code debugging for dynamically linked libraries
- Subject: Re: problem with source code debugging for dynamically linked libraries
- From: String <email@hidden>
- Date: Fri, 28 Nov 2003 10:36:10 -0600
Sounds like dbg info is not available w/in the shared libs. Dbl check
that.
If everything looks ok, you could statically link the shd libs with one
of your C progs and make sure you can see all the dbg stuff. This will
tell you that your libs are built properly for debug.
Are these sh libs yours or some common libs ? Make sure that the
debugger is picking up the ones versions you expect, and not one that
is built w/o debugging.
Sorry I can't be of more help. I'm just getting back into the OS X
world.
Thanks.
On Nov 28, 2003, at 10:01 AM, Borghesi wrote:
The whole thing is a C program loading dynamically several shared
libraries (compiled as bundles) and everything is compiled with the
debugging option.
This is what happens:
- we launch the C program (Target of type Standard Tool)
- this program links dynamically several shared libraries using
NSLinkModule()
These are the symptoms:
- we can't set breakpoints inside of the code of the shared libraries
using the arrows of the GUI
- if we set a symbolic breakpoint (using a function name) the
debugger
stops, but the we don't have access to the source or any state
- the function name in the display of the C function stack is gray
- using next in the debugger (or the "Step Over" button)we have the
following error message:
"Single stepping until exit from function osc_set_phase, which
has no line number information."
Everything worked well with ProjectBuilder on Jaguar.
Any hints or experiences?
Regards
Riccardo
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.