Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

benthicwhale

macrumors newbie
Original poster
Jul 30, 2011
10
0
Hello everyone.

For example, I write a C program in Xcode4 and set a break point in the program, then run it. I want to see the assembly code of this C program。 How should I do it in Xcode4?

Thank you very much.
 
Cursedly, this feature is missing from XCode 4. But the debug area is a live connection to GDB. Perhaps you can use the disas GDB command to get a disssembly for the instructions around the current instruction pointer.
 
Thank you Kenndac adn jiminaus, both of you are so kind.
And jiminaus, my last question, queried about how to include .h file in Xcode. I have figured out what should I do. You can check my reply in my thread. And is there any 'close this question' or 'this question has been solved' functions in this forum?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.