• 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: Jim Ingham <email@hidden>
  • Date: Tue, 18 Jan 2005 17:07:55 -0800

Xcode 1.5 supports two machine debugging. That's the best way to do this sort of thing, if you happen to have two machines.

If you just want to look at some data when you hit the breakpoint during the drag, but don't actually need to stop in the debugger, you can put a command on the breakpoint that prints out some stuff, then continues. To do this you have to use the debugger console. So for instance, if you wanted to inspect foo & bar every time you hit the breakpoint, open the console window, first use "info break" to find the breakpoint number, then do:

(gdb) commands <BPNUM>
print foo
print bar
continue
end

Then every time the program hits the breakpoint, it will print out whatever you are interested in, and continue on.

Jim


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:
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: How to continue through a drag in the debugger?
  • Next by Date: Re: How to continue through a drag in the debugger?
  • Previous by thread: 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