• 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: How to continue through a drag in the debugger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to continue through a drag in the debugger?


  • Subject: Re: How to continue through a drag in the debugger?
  • From: Lance Saleme <email@hidden>
  • Date: Tue, 18 Jan 2005 17:08:12 -0800

I'd recommend looking into two-machine debugging. I know how to do it with Code Warrior, but have never had the need arise with XCode. I'm sure Scott or one of the other team members can offer pearls of wisdom on the process. You might be forced down to the command line GDB on the second machine after attaching to the running process on the main machine. I've seen it done effectively. Perhaps start hunting down the process in the archives?

Dragging isn't the only case where you can't debug on the same machine. Window/Application activation and deactivation problems generally require the two-machine approach also (given that switching between XCode and the target App generates activation cycles). You could resort to the passive approach of writing log statements during the drag, dump your variables as you go, watch the gobs of text go by, etc. SysBeep(2) is your friend when all else fails.

Good luck,
Lance


On Jan 18, 2005, at 4:51 PM, Mark Dawson wrote:

How does one continue through a drag that breaks into the debugger? If I do a mouse down (click), then start a drag, I break into the debugger (as I intended); however, doing a cmd > to continue does NOT put the focus back into the program to complete my drag. Is it possible to do this in XCode? Its often helpful to watch what's happening during a drag to catch problems…

Thanks!

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


This email sent to email@hidden


_______________________________________________ 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: 
 >How to continue through a drag in the debugger? (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: How to continue through a drag in the debugger?
  • Next by Date: "Watchpoints"?
  • Previous by thread: Re: How to continue through a drag in the debugger?
  • Next by thread: Re: How to continue through a drag in the debugger?
  • Index(es):
    • Date
    • Thread