From susan.cudmore at gmail.com Thu Nov 8 08:06:38 2012 From: susan.cudmore at gmail.com (Susan Cudmore) Date: Thu, 8 Nov 2012 08:06:38 -0500 Subject: Breakpoint Log Message question Message-ID: Hi All, I've been trying to figure out the syntax for the Log Message command on a breakpoint. The problem is that I can print @myVariable@ or I can print "My text message", but "My text message @myVariable@" doesn't work... Any idea how I get that to act like NSLog and print out variable values? Thanks! /Sue -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at johncshockey.com Thu Nov 8 08:13:13 2012 From: john at johncshockey.com (John Shockey) Date: Thu, 8 Nov 2012 08:13:13 -0500 Subject: Breakpoint Log Message question In-Reply-To: References: Message-ID: Sue, Not at home so I can't check and answer directly, but I've always used the ability to execute commands on a breakpoint, and included printing commands. Will try for a better answer when I get to my Mac. John (Sent from an iPod Touch) On Nov 8, 2012, at 8:06 AM, Susan Cudmore wrote: > Hi All, > > I've been trying to figure out the syntax for the Log Message command on a breakpoint. The problem is that I can print @myVariable@ or I can print "My text message", but "My text message @myVariable@" doesn't work... > > Any idea how I get that to act like NSLog and print out variable values? > > Thanks! > > /Sue > _______________________________________________ > MacTechGroup-discuss mailing list > MacTechGroup-discuss at lists.mactechgroup.org > http://lists.mactechgroup.org/mailman/listinfo/mactechgroup-discuss From griotspeak at gmail.com Thu Nov 8 08:21:31 2012 From: griotspeak at gmail.com (TJ Usiyan) Date: Thu, 8 Nov 2012 08:21:31 -0500 Subject: Breakpoint Log Message question In-Reply-To: References: Message-ID: <6D0EA086-DC4A-4955-9D15-08FE89340187@gmail.com> Hello again, After a more careful reading of your request, I think that you want a formatted string po [NSString stringWithFormat:@"my message %@", foo] TJ On Nov 8, 2012, at 8:06 AM, Susan Cudmore wrote: > Hi All, > > I've been trying to figure out the syntax for the Log Message command on a breakpoint. The problem is that I can print @myVariable@ or I can print "My text message", but "My text message @myVariable@" doesn't work... > > Any idea how I get that to act like NSLog and print out variable values? > > Thanks! > > /Sue > _______________________________________________ > MacTechGroup-discuss mailing list > MacTechGroup-discuss at lists.mactechgroup.org > http://lists.mactechgroup.org/mailman/listinfo/mactechgroup-discuss From susan.cudmore at gmail.com Thu Nov 8 09:06:19 2012 From: susan.cudmore at gmail.com (Susan Cudmore) Date: Thu, 8 Nov 2012 09:06:19 -0500 Subject: Breakpoint Log Message question In-Reply-To: <6D0EA086-DC4A-4955-9D15-08FE89340187@gmail.com> References: <6D0EA086-DC4A-4955-9D15-08FE89340187@gmail.com> Message-ID: That's not exactly what I was asking but it gets me to where I want to be. Thanks! You guys are better than Google! On Thu, Nov 8, 2012 at 8:21 AM, TJ Usiyan wrote: > Hello again, > After a more careful reading of your request, I think that you want a > formatted string > > po [NSString stringWithFormat:@"my message %@", foo] > > TJ > On Nov 8, 2012, at 8:06 AM, Susan Cudmore wrote: > > > Hi All, > > > > I've been trying to figure out the syntax for the Log Message command on > a breakpoint. The problem is that I can print @myVariable@ or I can print > "My text message", but "My text message @myVariable@" doesn't work... > > > > Any idea how I get that to act like NSLog and print out variable values? > > > > Thanks! > > > > /Sue > > _______________________________________________ > > MacTechGroup-discuss mailing list > > MacTechGroup-discuss at lists.mactechgroup.org > > http://lists.mactechgroup.org/mailman/listinfo/mactechgroup-discuss > > -------------- next part -------------- An HTML attachment was scrubbed... URL: