• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is it possible to set breakpoints in asm sources?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to set breakpoints in asm sources?


  • Subject: Re: Is it possible to set breakpoints in asm sources?
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 27 Jun 2008 23:30:00 -0700


On Jun 27, 2008, at 5:37 PM, Terry Simons wrote:

Is it possible to set graphical breakpoints in assembly sources with Xcode, or does one have to use gdb's command line?

I have a project with a .c driver and an assembly file (ending with .nasm) and I can compile the project just fine, and set breakpoints in the driver, but I can't set breakpoints in the assembly file.

Am I missing something or is what I am trying to do not possible?

No, the nasm assembler does not generate any debug output, so no symbols or lines in nasm files are available to the debugger as source code.


You can set a symbolic breakpoint at the entry point to a nasm function, then use the split-window view in the debugger to set breakpoints in the binary code at the instruction level, but not in the source.

Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Is it possible to set breakpoints in asm sources? (From: Terry Simons <email@hidden>)

  • Prev by Date: Re: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
  • Next by Date: Re: How do I link?
  • Previous by thread: Re: Is it possible to set breakpoints in asm sources?
  • Next by thread: accessing debug info from code
  • Index(es):
    • Date
    • Thread