Talk About Network

Google





Mac > Mac Programmer Tools > Re: Stepping as...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 618 of 637
Post > Topic >>

Re: Stepping assembly in XCode IDE

by Paul Russell <prussell@[EMAIL PROTECTED] > Mar 7, 2008 at 09:37 AM

fltcpt@[EMAIL PROTECTED]
 wrote:
> Hi all,
> 
> I am new to XCode. I want to step my program at assembly level (not
> source level).
> I get a view window to view disassembled code, but could not step it
> (there is
> no next/step in/step out buttons at that window). Can someone help me
> out
> and point out how to do that? It is just a command line hello world
> program.
> 
> Thanks alot

You don't want the disassembly window (invoked by the confusingly named 
Show Assembly command) - that's just for viewing compiler output. In the 
debugger you need to toggle the view from source to assembly - there's 
an equally confusingly named menu command whose location varies 
depending on what version of Xcode you are running. In Xcode 3.0 it's 
Run -> Debugger Display -> Disassembly Only. After you switch the 
debugger view to assembler (Disassembly Only) then the single step 
operation will operate on one assembler source line (i.e. one 
instruction), and ditto for breakpoints etc.

Paul
 




 2 Posts in Topic:
Stepping assembly in XCode IDE
fltcpt@[EMAIL PROTECTED]   2008-03-07 00:52:18 
Re: Stepping assembly in XCode IDE
Paul Russell <prussell  2008-03-07 09:37:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 23:34:25 PST 2009.