• 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: Assembly view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assembly view


  • Subject: Re: Assembly view
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 22 Jul 2006 11:10:43 -0700
  • Thread-topic: Assembly view

On Fri, 21 Jul 2006 14:38:47 -0400, "Bit Twiddler" <email@hidden>
said:
>I am using Xcode 2.3 on a MBP running OS X 10.4.7.
>
>I created a basic Cocoa based app and while debugging certain functions I
>can only debug in the assembly view.  When the breakpoint fires I am in
>source view, but as soon as I 'step over' I am placed into assembly view.
>
>Is this a known issue?

It would be useful if you could give a reproducible example. Barring that,
perhaps what's happening is that as Cocoa attempts to execute the next line
of ObjectiveC code, your app is crashing.

For example, consider this code:

- (void)drawRect:(NSRect)aRect{
    [@"howdy" concat];
    [super drawRect:aRect];
}

Put this into a custom NSView that shows up in your interface, and set a
breakpoint on the "howdy" line. Start the debugger. When the debugger
pauses, press Step Over. You will fall back into the debugger, in asm view.
This is because you've crashed. To see that this is so, press Continue and
the sigtrap info will appear in the window.

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Follow-Ups:
    • Re: Assembly view
      • From: "Bit Twiddler" <email@hidden>
  • Prev by Date: Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Next by Date: Re: Enabling as many warnings as possible with Xcode and gcc 4
  • Previous by thread: Assembly view
  • Next by thread: Re: Assembly view
  • Index(es):
    • Date
    • Thread