Chapter 11: Rewriting an Objective-C constant string requires CFStringCreateWithBytes

In chapter 11 > Changing Around Values in Registers
When I write p/x @“Yay! Debugging”, i got below error:
error: Error [IRForTarget]: Rewriting an Objective-C constant string requires CFStringCreateWithBytes

Can someone help me :frowning:
Thanks

The lldb error “Rewriting an Objective-C constant string requires CFStringCreateWithBytes” occurs because the Objective-C runtime is likely not fully initialized when you’re attempting to evaluate expressions like @"...". The primary solution is to set your breakpoint later in the app’s lifecycle, such as within application:didFinishLaunchingWithOptions: or a view controller’s viewDidLoad method, where the runtime is stable. Other remedies include restarting your debug session, updating Xcode, or using plain C string literals if applicable.