Setting watchpoints in GDB
Setting watchpoints in GDB
- Subject: Setting watchpoints in GDB
- From: Paul Sargent <email@hidden>
- Date: Sun, 24 Oct 2004 17:42:38 +0100
Hi all,
I'm trying to workout how some values in some of my data structures are
being changed. It's all part of me trying to learn bindings, and trying
to understand how values are being edited even though I haven't got KVC
compliant methods in my class.
So I thought I'd set a watchpoint on the pointer stored in my class.
Looking through the whole of the Xcode UI and the Xcode documentation I
can see no mention of watchpoints. So, after hitting a breakpoint in my
init routine, I set one up using the gdb console command 'watch
<expression>', then hit continue. At which point my Cocoa app just
freezes, and I'm unable to interrupt execution using the pause button
in Xcode. The only thing to do is to kill the process.
Are watchpoints expected to work?
Has anybody any experience with them?
Any other suggestions that will allow me to see when a memory location
changes?
Thanks
Paul
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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