• 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: gdb attach ex post facto (was: no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb attach ex post facto (was: no subject)


  • Subject: Re: gdb attach ex post facto (was: no subject)
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 19 Nov 2003 13:35:58 -0800

On Nov 19, 2003, at 12:44 PM, Tim Gogolin wrote:

I have an app (built in xcode) that can detect an internal error situation and post a modal dialog that helps me understand part of the problem. The dialog is posted via [myApp runModalForWindow: w], so the stack is still intact. If I switch to the terminal, run gdb, and "attach" to the process I can get a good back trace.

Presumably I could continue to debug from the command line (ouch, command line debugging). The project is open in xcode and I launched the app from xcode (but not by using the "debug" command). Is there any way to "change my mind" and get the debugging UI up and running, in the same way that command line gdb will allow one to start debugging after the app has already been running normally?

This request has already been logged as a potential enhancement for a future version of Xcode, Yes, ouch, you can gdb attach the process and debug from the command line, but we'd like to be able to do just what you suggest.


Chris
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >(no subject) (From: Tim Gogolin <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: Re: Xcode cross-developing to 10.1 and NSProgressIndicator (Modified by Justin Lundy)
  • Previous by thread: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread