On Mon, Feb 20, 2012 at 1:57 PM, Enrico Granata <[email protected]> wrote: > as for -F, it works. The problem in your sample command > > (lldb) command script import ~/ruby.py > ready! > (lldb) type summary add -F ruby_value VALUE > > is that it is ignoring modules. When you load a file named ruby.py, Python > loads its contents in a module named 'ruby'. > Hence, your function is not really named ruby_value but ruby.ruby_value
Thank you, that explains it. `type summary add -F ruby.ruby_value VALUE` indeed works. Maybe `type summary add -F` could issue a diagnostic when it can't resolve the function? That probably would have pointed me in the right direction. Thanks, John _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
