<div dir="ltr">I just upgraded to Mountain Lion. I am getting this error when I try to debug using "frame variable". I use brew to install python. Let me know if you need more information. This was working fine before the upgrade.<div>
<br></div><div>Thank you.</div><div>Richard Catlin<br><div><div><br></div><div><div>SDGL10fd4f1cb:mybuilddirdebug2 rcatlin1$ lldb bin/TPL</div><div>Current executable set to 'bin/TPL' (x86_64).</div><div>(lldb) breakpoint set --line 1877</div>
<div>Breakpoint 1: where = TPL`main + 2497 at tpl.cpp:1877, address = 0x000000010000ab11</div><div>(lldb) process launch </div><div>Process 66661 launched: '/Users/rcatlin1/lldb/mybuilddirdebug2/bin/TPL' (x86_64)</div>
</div><div><div>Process 66661 stopped</div><div>* thread #1: tid = 0x1c03, 0x000000010000ab11 TPL`main + 2497 at tpl.cpp:1877, stop reason = breakpoint 1.1</div><div> frame #0: 0x000000010000ab11 TPL`main + 2497 at tpl.cpp:1877</div>
<div> 1874</div><div> 1875 // Call block_dep function in libBLOCKDEP</div><div> 1876 block_dep bd;</div><div>-> 1877 std::list<std::string> order2 = bd.execute(map1, edges);</div><div> 1878 std::reverse(order2.begin(), order2.end());</div>
<div> 1879 std::list<std::string> order;</div><div> 1880 for(std::list<std::string>::iterator iter(order2.begin()); iter != order2.end(); ++iter) {</div></div><div>(lldb) frame variable <br></div><div>
<div>Traceback (most recent call last):</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 563, in <module></div><div> main()</div><div>
File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 545, in main</div><div> known_paths = addusersitepackages(known_paths)</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 278, in addusersitepackages</div>
<div> user_site = getusersitepackages()</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 253, in getusersitepackages</div><div> user_base = getuserbase() # this will also set USER_BASE</div>
<div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243, in getuserbase</div><div> USER_BASE = get_config_var('userbase')</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 472, in get_config_var</div>
<div> return get_config_vars().get(name)</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 405, in get_config_vars</div><div> import re</div>
<div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 105, in <module></div><div> import sre_compile</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_compile.py", line 14, in <module></div>
<div> import sre_parse</div><div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_parse.py", line 17, in <module></div><div> from sre_constants import *</div>
<div> File "/usr/local/Cellar/python/2.7.4/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sre_constants.py", line 18, in <module></div><div> from _sre import MAXREPEAT</div><div>ImportError: cannot import name MAXREPEAT</div>
</div><div><br></div></div></div></div>