Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Breakpoints Being Ignored
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Breakpoints Being Ignored



Morning,
I have an project with three targets: two dylibs and an executable. One of the dylibs is linked with the program (A), and the other is loaded dynamically at run-time (B). The dylib loaded at runtime is also dependent on the other dylib. Here is an attempt at showing the relashionship:


    executable
      /             |
libB.dylib   |
      \             |
       libA.dylib

I am trying to set breakpoints in the libA.dylib source, and they are simply being ignored. I tried setting rbreak on the command-line (which was mentioned in an earlier thread on bps with no luck). Debugging symbols are on, and i've tried disabling fix & continue and zero link. I am getting errors such as the following when gdb starts up:

===========
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Mapped symbol file "/usr/libexec/gdb/symfiles/dyld.syms" uses a different prefix ("__dyld_") than the one requested (""); ignoring
Program loaded.
run
[Switching to process 3884 local thread 0xd03]
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
warning: Unable to resolve "(null)"; not loading.
Running...
warning: Mapped symbol file "/usr/libexec/gdb/symfiles/dyld.syms" uses a different prefix ("__dyld_") than the one requested (""); ignoring
warning: Mapped symbol file "/usr/libexec/gdb/symfiles/dyld.syms" uses a different prefix ("__dyld_") than the one requested (""); ignoring
=============


Thanks for any advice,
tim
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.