Hi all,<br>    I am currently using python interface to run a non-interactively script based on LLDB to trace the variable changing during each step during the program running. <br><br>    C allows a variable to be declared at first without initialization.  And the value of the variable after declaration could be a random value before initialized according to my test using LLDB with the following code compiled by clang+llvm. <br><br>----Example Code ----<br><div>#include <stdio.h></div><div>#include <stdlib.h></div><div>int g = 42;</div><div>float u = 5;</div><div>struct node {</div><div>  int field;</div><div>  struct node* next;</div><div>};</div><div>void f() {</div><div>    g = g + 1;</div><div>    printf("Hello world!\n");</div><div>}</div><div><br></div><div>int <span style="line-height: 1.5;">main(int argc, char *argv[])</span></div><div>{</div><div><span style="line-height: 1.5;">  int x;</span></div><div>  int y=10;</div><div>  x  = y+1;</div><div>  struct node* root = (struct node*)malloc(sizeof(struct node));</div><div>  root->field = 3;</div><div>  root->next = (struct node*)malloc(sizeof(struct node));</div><div>  root->next->field = 2;</div><div>  free(root->next);</div><div>  free(root);</div><div><br></div><div>  int i = 0;</div><div>  i = i + 1;</div><div>  f();</div><div>  return 0;</div><div>}<br></div><br>-----End Example Code ----<br><br>   My question is:<br>   In LLDB, is there a way to check whether a variable is currently be declared, and have not been initialized? So that my non-interactively script could check this, and ignore to show it before initialized ?<div><br>   Thanks very much.<br><br>Best,<br>Kun Ling<br> </div>