Re: [lldb-dev] EvaluateExpression has trailing error

2015-08-24 Thread Greg Clayton via lldb-dev
That doesn't seem to be right, you had a typename before: (lldb) pp Ty Fn(Void -> Int)* = Make sure everything is setup and is where you were stopped before and that you use the same "Ty" variable you did before. I have seen function types have newlines in them in the past. > On Aug 24, 2015,

Re: [lldb-dev] EvaluateExpression has trailing error

2015-08-24 Thread Ramkumar Ramachandra via lldb-dev
Hm, that doesn't seem to be it. (lldb) pp R var ~UnType typename = "" () = On Mon, Aug 24, 2015 at 12:51 PM, Greg Clayton wrote: > The type name for "Ty" might have a newline in it. Try this: > > >res = frame.EvaluateExpression("%s->dump()" % command) >print >>result, 'typename = "%s"'

Re: [lldb-dev] EvaluateExpression has trailing error

2015-08-24 Thread Greg Clayton via lldb-dev
The type name for "Ty" might have a newline in it. Try this: res = frame.EvaluateExpression("%s->dump()" % command) print >>result, 'typename = "%s"' % (res.GetType().GetName()) print >>result, res See if the double quote is on the next line. > On Aug 22, 2015, at 11:58 AM, Ramkumar Ra