在debug控制台 (gdb)后面 输入: set yourNSString = @"the value you need" 如果是使用(lldb), 则输入:expr yourNSString = @"the value you need"