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

Re: Useless Debugger


  • Subject: Re: Useless Debugger
  • From: Jonas Maebe <email@hidden>
  • Date: Mon, 29 Nov 2004 15:24:33 +0100


On 29 nov 2004, at 15:13, Norio Ota wrote:

GDB commands must be much better than Debugger, but it's bother to me to type commands every time to check the value and continue, like:
(gdb) print myValue

You can type "display myValue", then it will be printed every time you stop. If you only want to print it when a certain breakpoint is hit, use


commands X  (replace X with the breakpoint number)
  print myValue
end

(gdb) continue

You can also type "c" instead of "continue.

I'd like to know other member variables when myValue is nil.

You can also do this with "commands":

commands X
  print myValue
  if myValue == 0
    print othermember
  end
end


Jonas

_______________________________________________
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: 
 >Useless Debugger (From: Norio Ota <email@hidden>)
 >Re: Useless Debugger (From: Ian Krieg <email@hidden>)
 >Re: Useless Debugger (From: Norio Ota <email@hidden>)

  • Prev by Date: Re: Useless Debugger
  • Next by Date: Refuses to break
  • Previous by thread: Re: Useless Debugger
  • Next by thread: Refuses to break
  • Index(es):
    • Date
    • Thread