Hi all,
I'm using lldb 3.9 through the C++ API and I'm trying to determine if a local
variable is shadowed or not with no luck.
For the code below:
1. Is there an API call, that I somehow missed, that can tell me that (v
= 2) shadows (v = 1)?
2. Can I rely on their order in the SB
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
Hi all,
Given a file name, line number and variable name, I am trying to determine the
address. I tried the following approach:
* First I got the block corresponding to the file and line:
o from the file name I got a SBCompileUnit
o using the SBCompileUnit and line number I got a S
Hi all,
Does anyone know how I can get LLDB to generate events when calling
SBProcess::SetSelectedThreadByID?
SetSelectedThreadByID calls SetSelectedThreadByIndexID, but it doesn't pass the
notify parameter so it defaults to false in ThreadList.h . Same story for
SBThread::SetSelectedFrame.
Wh
cleaner to me.
>
> BTW, the lldb command line commands DO send events when the selected
> thread/frame/etc. changes. That's necessary since a program driving lldb has
> no good way of knowing what the command line commands have done otherwise.
>
> Jim
>
>
>&g