Re: How do I set a watchpoint?

2015-05-28 Thread Kate Stone
On May 23, 2015, at 3:15 PM, Jens Alfke j...@mooseyard.com wrote: On May 23, 2015, at 3:04 PM, Kate Stone katherine_st...@apple.com mailto:katherine_st...@apple.com wrote: You can evaluate an Objective-C expression in a Swift frame by overriding the default language like so: Thanks!

Re: How do I set a watchpoint?

2015-05-28 Thread Jens Alfke
On May 28, 2015, at 4:24 PM, Kate Stone katherine_st...@apple.com wrote: Register values can be readily used in C-based languages as if they were pointers, but they have far less obvious meaning in a Swift context where everything is more strongly typed and is safe by design. I think

How do I set a watchpoint?

2015-05-23 Thread Jens Alfke
I’m going nuts trying to debug a crash in which an object gets dealloced prematurely (but enabling zombies doesn’t help, i.e. the object is freed regardless, not turned into a zombie.) I’m trying to set a watchpoint on the object’s memory to see what’s freeing it, but I can’t figure out how to