Re: Useless Debugger
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