Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Debugging with Xcode, GDB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging with Xcode, GDB



Hello,

I am having trouble with Xcode calling the GDB. It loads GDB, but then errors, saying that it cannot find the executable (from the Debugger console):

/bin/bash: line 1: /Users/enderai/Programs/Hello\!/build/Hello\!.app/Contents/MacOS/ Hello\!: No such file or directory
/bin/bash: line 1: exec: /Users/enderai/Programs/Hello\!/build/Hello\!.app/Contents/MacOS/ Hello\!: cannot execute: No such file or directory


When I run GDB from the command line and give it the same path, same thing happens. When I cd to the folder with the executable and run gdb from there, still the error.

Has anyone had success with GDB and fix & continue? how can I fix this?

Thanks,

--Matt
_______________________________________________
studentdev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/studentdev
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.