• 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: Breaking into debugger after program hangs....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking into debugger after program hangs....


  • Subject: Re: Breaking into debugger after program hangs....
  • From: j o a r <email@hidden>
  • Date: Fri, 29 Apr 2005 08:03:55 +0200


On 29 apr 2005, at 04.42, John Draper wrote:

One can be casted to another? Even though one is an object, and another is a procedure call?

You shouldn't compare an object (the data) to a "procedure call" (the code working on the data). Apples and oranges...


If you want to break manually, hit the "pause" button in the debugger window toolbar.
Oh - I see... I never would have associated the "pause" with "breaking into the debugger".

I think you should try to familiarize yourself with the toolbar buttons. Try to map them to the GDB command line equivalents.


You hit Cmd+R to launch the application outside of the debugger
What do you mean "Outside the debugger", are you referring being within X-Code?

Outside of the debugger, meaning running with no GDB attached to your application. Just like if you had been double-clicking it in the Finder. I wasn't sure if you were running in the Xcode debugger or not from some of your descriptions - but it seems from your latest descriptions that you are.


On 29 apr 2005, at 04.48, John Draper wrote:

I don't have a stack crawl list - I have two sections in MY window. Bottom one is for the source
code being debugged, and the top shows the variable values in the context of where my program
hit a breakpoint. NO stack crawl window... I see it in documentation screenshots, and I'm sure
there is a way to get it to display it, but I just haven't found it yet.

Have a look at this screenshot:

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/ XcodeQuickTour/art/xc_debugwindow.gif>

Top left: Per-thread backtrace
Top right: Local variables
Bottom: Source

Are you missing the backtrace pane? See the little split divider resize control in the middle of the three panes, the one with the single dot? If you do, can you move it? If you don't, try to use the green window title bar button to maximize your window - does the third pane show up? I remember having problems with Xcode 1.5 when i first installed it - parts of my Xcode windows could end up outside of the visible frame of the window. Maximizing usually would bring things back in order, but I also suggest that you try Nick's suggestion with moving aside your ".mode1" (really weird name btw...) file. You could also try the "Switch Debugger Layout" menu item at the bottom of the Debug menu - it might fix the window layout if it's borked.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Breaking into debugger after program hangs....
      • From: John Draper <email@hidden>
References: 
 >Breaking into debugger after program hangs.... (From: John Draper <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: Ondra Cada <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: Nick Zitzmann <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: John Draper <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: j o a r <email@hidden>)
 >Re: Breaking into debugger after program hangs.... (From: John Draper <email@hidden>)

  • Prev by Date: Re: nsstepper up arrow and down arrow
  • Next by Date: Re: Working with large files, efficiently/fast?
  • Previous by thread: Re: Breaking into debugger after program hangs....
  • Next by thread: Re: Breaking into debugger after program hangs....
  • Index(es):
    • Date
    • Thread