Re: [lldb-dev] Variable shadowing

2016-06-23 Thread Bogdan Hopulele via lldb-dev
Thanks! Using the blocks I can get all the information I need: locals, function statics and arguments plus shadowing. Now I only need globals which I can get using "target.FindGlobalVariables('.', 1000, eMatchTypeRegex)" and search for variable names in the dictionary. Your script seems pretty

Re: [lldb-dev] Variable shadowing

2016-06-23 Thread Greg Clayton via lldb-dev
% svn commit shadow.py Adding shadow.py Transmitting file data .done Committing transaction... Committed revision 273604. It is now in examples/python/shadow.py and the command is called "shadow". > On Jun 23, 2016, at 6:39 AM, Bogdan Hopulele wrote: > > Thanks! > Using the blocks I