Project Builder debugging not working?!

Debugging doesn’t seem to be working for me :frowning: When I looked in the
console, this is what I saw:

warning: Unable to read symbols from
"@executable_path/…/Frameworks/SDL.framework/Versions/A/SDL"; reading
from memory.
/SourceCache/gdb/gdb-250/src/gdb/macosx/macosx-nat-dyld-process.c:505:
internal-error: assertion failure in function “dyld_load_library”:
e->dyld_valid

A problem internal to GDB has been detected. Further
debugging may prove unreliable.

Anyone know what this is all about?! I can’t think of anything I did to
screw with either Project Builder or the SDL framework. It gives me
this even if I just start a new SDL project from the template without
changing a thing.

Thanks,
–Joe

http://www.libsdl.org/faq.php?action=listentries&category=7#78On Monday, July 21, 2003, at 03:02 PM, sdl-request at libsdl.org wrote:

Debugging doesn’t seem to be working for me

Debugging doesn’t seem to be working for me :frowning: When I looked in the
console, this is what I saw:

This is a known issue with gdb/PB. You have to copy any SDL frameworks
you use into your application bundle. (If there’s another solution I’d
love to hear about it!)

  • Control-click your built application and select “Show Package
    Contents.”
  • In the “Contents” folder make a folder named “Frameworks.”
  • Copy any SDL frameworks your application uses into this folder.

The “Frameworks” folder will remain in place through subsequent builds,
but it will be deleted if you use the Clean command in PB. I recommend
you make a populated Frameworks folder right in the build folder. Then
you can quickly copy it into the Contents folder as-needed.–
Scott Lahteine <@Scott_Lahteine>

“No universe is perfect which leaves no room for improvement.”