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 useful. Maybe you can add it to the python examples.

-----Original Message-----
From: Greg Clayton [mailto:[email protected]]
Sent: Thursday, June 23, 2016 12:00 AM
To: Greg Clayton <[email protected]>
Cc: Bogdan Hopulele <[email protected]>; [email protected]
Subject: Re: [lldb-dev] Variable shadowing

The logic is a bit wrong in my script, it should first print out the variables 
we have already found, followed by the one we are currently processing. The 
fixed script is attached:

National Instruments Romania S.R.L.
------------------------------------------------------
B-dul 21 Decembrie 1989, nr. 77, A2
Cluj-Napoca 400604, Romania
C.I.F.: RO17961616 | O.R.C.: J12/3337/2005
Telefon: +40 264 406428 | Fax: +40 264 406429
E-mail: [email protected]
Web: romania.ni.com

Vanzari si suport tehnic:
Telefon gratuit : 0800 070071
E-mail vanzari: [email protected]
E-mail suport tehnic: [email protected]
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to