Home | History | Annotate | Download | only in python_reference
      1 <?xml version="1.0" encoding="ascii"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      3           "DTD/xhtml1-transitional.dtd">
      4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
      5 <head>
      6   <title>lldb.SBError</title>
      7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
      8   <script type="text/javascript" src="epydoc.js"></script>
      9 </head>
     10 
     11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
     12       alink="#204080">
     13 <!-- ==================== NAVIGATION BAR ==================== -->
     14 <table class="navbar" border="0" width="100%" cellpadding="0"
     15        bgcolor="#a0c0ff" cellspacing="0">
     16   <tr valign="middle">
     17 
     18   <!-- Tree link -->
     19       <th>&nbsp;&nbsp;&nbsp;<a
     20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
     21 
     22   <!-- Index link -->
     23       <th>&nbsp;&nbsp;&nbsp;<a
     24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
     25 
     26   <!-- Help link -->
     27       <th>&nbsp;&nbsp;&nbsp;<a
     28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
     29 
     30   <!-- Project homepage -->
     31       <th class="navbar" align="right" width="100%">
     32         <table border="0" cellpadding="0" cellspacing="0">
     33           <tr><th class="navbar" align="center"
     34             ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
     35           </tr></table></th>
     36   </tr>
     37 </table>
     38 <table width="100%" cellpadding="0" cellspacing="0">
     39   <tr valign="top">
     40     <td width="100%">
     41       <span class="breadcrumbs">
     42         <a href="lldb-module.html">Package&nbsp;lldb</a> ::
     43         Class&nbsp;SBError
     44       </span>
     45     </td>
     46     <td>
     47       <table cellpadding="0" cellspacing="0">
     48         <!-- hide/show private -->
     49         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
     50     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
     51         <tr><td align="right"><span class="options"
     52             >[<a href="frames.html" target="_top">frames</a
     53             >]&nbsp;|&nbsp;<a href="lldb.SBError-class.html"
     54             target="_top">no&nbsp;frames</a>]</span></td></tr>
     55       </table>
     56     </td>
     57   </tr>
     58 </table>
     59 <!-- ==================== CLASS DESCRIPTION ==================== -->
     60 <h1 class="epydoc">Class SBError</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBError">source&nbsp;code</a></span></p>
     61 <center>
     62 <center>  <map id="uml_class_diagram_for_lldb_sbe" name="uml_class_diagram_for_lldb_sbe">
     63 <area shape="rect" id="node14" href="lldb.SBError-class.html#__swig_setmethods__" title="lldb.SBError.__swig_setmethods__" alt="" coords="17,31,197,49"/>
     64 <area shape="rect" id="node14" href="lldb.SBError-class.html#__swig_getmethods__" title="lldb.SBError.__swig_getmethods__" alt="" coords="17,49,197,68"/>
     65 <area shape="rect" id="node14" href="lldb.SBError-class.html#description" title="A read only property that returns the same result as GetCString()." alt="" coords="17,68,197,87"/>
     66 <area shape="rect" id="node14" href="lldb.SBError-class.html#fail" title="A read only property that returns the same result as Fail()." alt="" coords="17,87,197,105"/>
     67 <area shape="rect" id="node14" href="lldb.SBError-class.html#success" title="A read only property that returns the same result as Success()." alt="" coords="17,105,197,124"/>
     68 <area shape="rect" id="node14" href="lldb.SBError-class.html#type" title="A read only property that returns the same result as GetType()." alt="" coords="17,124,197,143"/>
     69 <area shape="rect" id="node14" href="lldb.SBError-class.html#value" title="A read only property that returns the same result as GetError()." alt="" coords="17,143,197,161"/>
     70 <area shape="rect" id="node14" href="lldb.SBError-class.html#__setattr__" title="x.__setattr__(&#39;name&#39;, value) &lt;==&gt; x.name = value" alt="" coords="17,164,197,183"/>
     71 <area shape="rect" id="node14" href="lldb.SBError-class.html#__getattr__" title="lldb.SBError.__getattr__" alt="" coords="17,183,197,201"/>
     72 <area shape="rect" id="node14" href="lldb.SBError-class.html#__repr__" title="repr(x)" alt="" coords="17,201,197,220"/>
     73 <area shape="rect" id="node14" href="lldb.SBError-class.html#__init__" title="__init__(lldb::SBError self) &#45;&gt; SBError __init__(lldb::SBError self, &#160;SBError rhs) &#45;&gt; SBError" alt="" coords="17,220,197,239"/>
     74 <area shape="rect" id="node14" href="lldb.SBError-class.html#__swig_destroy__" title="delete_SBError(SBError self)" alt="" coords="17,239,197,257"/>
     75 <area shape="rect" id="node14" href="lldb.SBError-class.html#__del__" title="lldb.SBError.__del__" alt="" coords="17,257,197,276"/>
     76 <area shape="rect" id="node14" href="lldb.SBError-class.html#GetCString" title="GetCString(SBError self) &#45;&gt; str const *" alt="" coords="17,276,197,295"/>
     77 <area shape="rect" id="node14" href="lldb.SBError-class.html#Clear" title="Clear(SBError self)" alt="" coords="17,295,197,313"/>
     78 <area shape="rect" id="node14" href="lldb.SBError-class.html#Fail" title="Fail(SBError self) &#45;&gt; bool" alt="" coords="17,313,197,332"/>
     79 <area shape="rect" id="node14" href="lldb.SBError-class.html#Success" title="Success(SBError self) &#45;&gt; bool" alt="" coords="17,332,197,351"/>
     80 <area shape="rect" id="node14" href="lldb.SBError-class.html#GetError" title="GetError(SBError self) &#45;&gt; uint32_t" alt="" coords="17,351,197,369"/>
     81 <area shape="rect" id="node14" href="lldb.SBError-class.html#GetType" title="GetType(SBError self) &#45;&gt; lldb::ErrorType" alt="" coords="17,369,197,388"/>
     82 <area shape="rect" id="node14" href="lldb.SBError-class.html#SetError" title="SetError(SBError self, uint32_t err, lldb::ErrorType type)" alt="" coords="17,388,197,407"/>
     83 <area shape="rect" id="node14" href="lldb.SBError-class.html#__str__" title="__str__(SBError self) &#45;&gt; PyObject *" alt="" coords="17,425,197,444"/>
     84 <area shape="rect" id="node1" href="lldb.SBError-class.html" title="Represents a container for holding any error code." alt="" coords="5,6,208,450"/>
     85 </map>
     86   <img src="uml_class_diagram_for_lldb_sbe.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbe" ismap="ismap" class="graph-without-title" />
     87 </center>
     88 </center>
     89 <hr />
     90 <pre class="literalblock">
     91 
     92 Represents a container for holding any error code.
     93 
     94 For example (from test/python_api/hello_world/TestHelloWorld.py),
     95 
     96     def hello_world_attach_with_id_api(self):
     97         '''Create target, spawn a process, and attach to it by id.'''
     98 
     99         target = self.dbg.CreateTarget(self.exe)
    100 
    101         # Spawn a new process and don't display the stdout if not in TraceOn() mode.
    102         import subprocess
    103         popen = subprocess.Popen([self.exe, 'abc', 'xyz'],
    104                                  stdout = open(os.devnull, 'w') if not self.TraceOn() else None)
    105 
    106         listener = lldb.SBListener('my.attach.listener')
    107         error = lldb.SBError()
    108         process = target.AttachToProcessWithID(listener, popen.pid, error)
    109 
    110         self.assertTrue(error.Success() and process, PROCESS_IS_VALID)
    111 
    112         # Let's check the stack traces of the attached process.
    113         import lldbutil
    114         stacktraces = lldbutil.print_stacktraces(process, string_buffer=True)
    115         self.expect(stacktraces, exe=False,
    116             substrs = ['main.c:%d' % self.line2,
    117                        '(int)argc=3'])
    118 
    119         listener = lldb.SBListener('my.attach.listener')
    120         error = lldb.SBError()
    121         process = target.AttachToProcessWithID(listener, popen.pid, error)
    122 
    123         self.assertTrue(error.Success() and process, PROCESS_IS_VALID)
    124 
    125 checks that after the attach, there is no error condition by asserting
    126 that error.Success() is True and we get back a valid process object.
    127 
    128 And (from test/python_api/event/TestEvent.py),
    129 
    130         # Now launch the process, and do not stop at entry point.
    131         error = lldb.SBError()
    132         process = target.Launch(listener, None, None, None, None, None, None, 0, False, error)
    133         self.assertTrue(error.Success() and process, PROCESS_IS_VALID)
    134 
    135 checks that after calling the target.Launch() method there's no error
    136 condition and we get back a void process object.
    137 
    138 </pre>
    139 
    140 <!-- ==================== INSTANCE METHODS ==================== -->
    141 <a name="section-InstanceMethods"></a>
    142 <table class="summary" border="1" cellpadding="3"
    143        cellspacing="0" width="100%" bgcolor="white">
    144 <tr bgcolor="#70b0f0" class="table-header">
    145   <td colspan="2" class="table-header">
    146     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    147       <tr valign="top">
    148         <td align="left"><span class="table-header">Instance Methods</span></td>
    149         <td align="right" valign="top"
    150          ><span class="options">[<a href="#section-InstanceMethods"
    151          class="privatelink" onclick="toggle_private();"
    152          >hide private</a>]</span></td>
    153       </tr>
    154     </table>
    155   </td>
    156 </tr>
    157 <tr>
    158     <td width="15%" align="right" valign="top" class="summary">
    159       <span class="summary-type">&nbsp;</span>
    160     </td><td class="summary">
    161       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    162         <tr>
    163           <td><span class="summary-sig"><a href="lldb.SBError-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>,
    164         <span class="summary-sig-arg">name</span>,
    165         <span class="summary-sig-arg">value</span>)</span><br />
    166       x.__setattr__('name', value) &lt;==&gt; x.name = value</td>
    167           <td align="right" valign="top">
    168             <span class="codelink"><a href="lldb-pysrc.html#SBError.__setattr__">source&nbsp;code</a></span>
    169             
    170           </td>
    171         </tr>
    172       </table>
    173       
    174     </td>
    175   </tr>
    176 <tr>
    177     <td width="15%" align="right" valign="top" class="summary">
    178       <span class="summary-type">&nbsp;</span>
    179     </td><td class="summary">
    180       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    181         <tr>
    182           <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
    183         <span class="summary-sig-arg">name</span>)</span></td>
    184           <td align="right" valign="top">
    185             <span class="codelink"><a href="lldb-pysrc.html#SBError.__getattr__">source&nbsp;code</a></span>
    186             
    187           </td>
    188         </tr>
    189       </table>
    190       
    191     </td>
    192   </tr>
    193 <tr>
    194     <td width="15%" align="right" valign="top" class="summary">
    195       <span class="summary-type">&nbsp;</span>
    196     </td><td class="summary">
    197       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    198         <tr>
    199           <td><span class="summary-sig"><a href="lldb.SBError-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
    200       repr(x)</td>
    201           <td align="right" valign="top">
    202             <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>
    203             
    204           </td>
    205         </tr>
    206       </table>
    207       
    208     </td>
    209   </tr>
    210 <tr>
    211     <td width="15%" align="right" valign="top" class="summary">
    212       <span class="summary-type">&nbsp;</span>
    213     </td><td class="summary">
    214       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    215         <tr>
    216           <td><span class="summary-sig"><a href="lldb.SBError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
    217         <span class="summary-sig-arg">*args</span>)</span><br />
    218       __init__(lldb::SBError self) -&gt; SBError __init__(lldb::SBError 
    219       self, SBError rhs) -&gt; SBError</td>
    220           <td align="right" valign="top">
    221             <span class="codelink"><a href="lldb-pysrc.html#SBError.__init__">source&nbsp;code</a></span>
    222             
    223           </td>
    224         </tr>
    225       </table>
    226       
    227     </td>
    228   </tr>
    229 <tr>
    230     <td width="15%" align="right" valign="top" class="summary">
    231       <span class="summary-type">&nbsp;</span>
    232     </td><td class="summary">
    233       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    234         <tr>
    235           <td><span class="summary-sig"><a name="__swig_destroy__"></a><span class="summary-sig-name">__swig_destroy__</span>(<span class="summary-sig-arg">...</span>)</span><br />
    236       delete_SBError(SBError self)</td>
    237           <td align="right" valign="top">
    238             
    239             
    240           </td>
    241         </tr>
    242       </table>
    243       
    244     </td>
    245   </tr>
    246 <tr>
    247     <td width="15%" align="right" valign="top" class="summary">
    248       <span class="summary-type">&nbsp;</span>
    249     </td><td class="summary">
    250       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    251         <tr>
    252           <td><span class="summary-sig"><a name="__del__"></a><span class="summary-sig-name">__del__</span>(<span class="summary-sig-arg">self</span>)</span></td>
    253           <td align="right" valign="top">
    254             <span class="codelink"><a href="lldb-pysrc.html#SBError.__del__">source&nbsp;code</a></span>
    255             
    256           </td>
    257         </tr>
    258       </table>
    259       
    260     </td>
    261   </tr>
    262 <tr>
    263     <td width="15%" align="right" valign="top" class="summary">
    264       <span class="summary-type">&nbsp;</span>
    265     </td><td class="summary">
    266       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    267         <tr>
    268           <td><span class="summary-sig"><a name="GetCString"></a><span class="summary-sig-name">GetCString</span>(<span class="summary-sig-arg">self</span>)</span><br />
    269       GetCString(SBError self) -&gt; str const *</td>
    270           <td align="right" valign="top">
    271             <span class="codelink"><a href="lldb-pysrc.html#SBError.GetCString">source&nbsp;code</a></span>
    272             
    273           </td>
    274         </tr>
    275       </table>
    276       
    277     </td>
    278   </tr>
    279 <tr>
    280     <td width="15%" align="right" valign="top" class="summary">
    281       <span class="summary-type">&nbsp;</span>
    282     </td><td class="summary">
    283       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    284         <tr>
    285           <td><span class="summary-sig"><a name="Clear"></a><span class="summary-sig-name">Clear</span>(<span class="summary-sig-arg">self</span>)</span><br />
    286       Clear(SBError self)</td>
    287           <td align="right" valign="top">
    288             <span class="codelink"><a href="lldb-pysrc.html#SBError.Clear">source&nbsp;code</a></span>
    289             
    290           </td>
    291         </tr>
    292       </table>
    293       
    294     </td>
    295   </tr>
    296 <tr>
    297     <td width="15%" align="right" valign="top" class="summary">
    298       <span class="summary-type">&nbsp;</span>
    299     </td><td class="summary">
    300       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    301         <tr>
    302           <td><span class="summary-sig"><a name="Fail"></a><span class="summary-sig-name">Fail</span>(<span class="summary-sig-arg">self</span>)</span><br />
    303       Fail(SBError self) -&gt; bool</td>
    304           <td align="right" valign="top">
    305             <span class="codelink"><a href="lldb-pysrc.html#SBError.Fail">source&nbsp;code</a></span>
    306             
    307           </td>
    308         </tr>
    309       </table>
    310       
    311     </td>
    312   </tr>
    313 <tr>
    314     <td width="15%" align="right" valign="top" class="summary">
    315       <span class="summary-type">&nbsp;</span>
    316     </td><td class="summary">
    317       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    318         <tr>
    319           <td><span class="summary-sig"><a name="Success"></a><span class="summary-sig-name">Success</span>(<span class="summary-sig-arg">self</span>)</span><br />
    320       Success(SBError self) -&gt; bool</td>
    321           <td align="right" valign="top">
    322             <span class="codelink"><a href="lldb-pysrc.html#SBError.Success">source&nbsp;code</a></span>
    323             
    324           </td>
    325         </tr>
    326       </table>
    327       
    328     </td>
    329   </tr>
    330 <tr>
    331     <td width="15%" align="right" valign="top" class="summary">
    332       <span class="summary-type">&nbsp;</span>
    333     </td><td class="summary">
    334       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    335         <tr>
    336           <td><span class="summary-sig"><a name="GetError"></a><span class="summary-sig-name">GetError</span>(<span class="summary-sig-arg">self</span>)</span><br />
    337       GetError(SBError self) -&gt; uint32_t</td>
    338           <td align="right" valign="top">
    339             <span class="codelink"><a href="lldb-pysrc.html#SBError.GetError">source&nbsp;code</a></span>
    340             
    341           </td>
    342         </tr>
    343       </table>
    344       
    345     </td>
    346   </tr>
    347 <tr>
    348     <td width="15%" align="right" valign="top" class="summary">
    349       <span class="summary-type">&nbsp;</span>
    350     </td><td class="summary">
    351       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    352         <tr>
    353           <td><span class="summary-sig"><a name="GetType"></a><span class="summary-sig-name">GetType</span>(<span class="summary-sig-arg">self</span>)</span><br />
    354       GetType(SBError self) -&gt; lldb::ErrorType</td>
    355           <td align="right" valign="top">
    356             <span class="codelink"><a href="lldb-pysrc.html#SBError.GetType">source&nbsp;code</a></span>
    357             
    358           </td>
    359         </tr>
    360       </table>
    361       
    362     </td>
    363   </tr>
    364 <tr>
    365     <td width="15%" align="right" valign="top" class="summary">
    366       <span class="summary-type">&nbsp;</span>
    367     </td><td class="summary">
    368       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    369         <tr>
    370           <td><span class="summary-sig"><a name="SetError"></a><span class="summary-sig-name">SetError</span>(<span class="summary-sig-arg">self</span>,
    371         <span class="summary-sig-arg">*args</span>)</span><br />
    372       SetError(SBError self, uint32_t err, lldb::ErrorType type)</td>
    373           <td align="right" valign="top">
    374             <span class="codelink"><a href="lldb-pysrc.html#SBError.SetError">source&nbsp;code</a></span>
    375             
    376           </td>
    377         </tr>
    378       </table>
    379       
    380     </td>
    381   </tr>
    382 <tr>
    383     <td width="15%" align="right" valign="top" class="summary">
    384       <span class="summary-type">&nbsp;</span>
    385     </td><td class="summary">
    386       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    387         <tr>
    388           <td><span class="summary-sig"><a name="SetErrorToErrno"></a><span class="summary-sig-name">SetErrorToErrno</span>(<span class="summary-sig-arg">self</span>)</span><br />
    389       SetErrorToErrno(SBError self)</td>
    390           <td align="right" valign="top">
    391             <span class="codelink"><a href="lldb-pysrc.html#SBError.SetErrorToErrno">source&nbsp;code</a></span>
    392             
    393           </td>
    394         </tr>
    395       </table>
    396       
    397     </td>
    398   </tr>
    399 <tr>
    400     <td width="15%" align="right" valign="top" class="summary">
    401       <span class="summary-type">&nbsp;</span>
    402     </td><td class="summary">
    403       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    404         <tr>
    405           <td><span class="summary-sig"><a name="SetErrorToGenericError"></a><span class="summary-sig-name">SetErrorToGenericError</span>(<span class="summary-sig-arg">self</span>)</span><br />
    406       SetErrorToGenericError(SBError self)</td>
    407           <td align="right" valign="top">
    408             <span class="codelink"><a href="lldb-pysrc.html#SBError.SetErrorToGenericError">source&nbsp;code</a></span>
    409             
    410           </td>
    411         </tr>
    412       </table>
    413       
    414     </td>
    415   </tr>
    416 <tr>
    417     <td width="15%" align="right" valign="top" class="summary">
    418       <span class="summary-type">&nbsp;</span>
    419     </td><td class="summary">
    420       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    421         <tr>
    422           <td><span class="summary-sig"><a name="SetErrorString"></a><span class="summary-sig-name">SetErrorString</span>(<span class="summary-sig-arg">self</span>,
    423         <span class="summary-sig-arg">*args</span>)</span><br />
    424       SetErrorString(SBError self, str const * err_str)</td>
    425           <td align="right" valign="top">
    426             <span class="codelink"><a href="lldb-pysrc.html#SBError.SetErrorString">source&nbsp;code</a></span>
    427             
    428           </td>
    429         </tr>
    430       </table>
    431       
    432     </td>
    433   </tr>
    434 <tr>
    435     <td width="15%" align="right" valign="top" class="summary">
    436       <span class="summary-type">&nbsp;</span>
    437     </td><td class="summary">
    438       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    439         <tr>
    440           <td><span class="summary-sig"><a name="SetErrorStringWithFormat"></a><span class="summary-sig-name">SetErrorStringWithFormat</span>(<span class="summary-sig-arg">self</span>,
    441         <span class="summary-sig-arg">*args</span>)</span><br />
    442       SetErrorStringWithFormat(SBError self, str const * format) -&gt; int</td>
    443           <td align="right" valign="top">
    444             <span class="codelink"><a href="lldb-pysrc.html#SBError.SetErrorStringWithFormat">source&nbsp;code</a></span>
    445             
    446           </td>
    447         </tr>
    448       </table>
    449       
    450     </td>
    451   </tr>
    452 <tr>
    453     <td width="15%" align="right" valign="top" class="summary">
    454       <span class="summary-type">&nbsp;</span>
    455     </td><td class="summary">
    456       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    457         <tr>
    458           <td><span class="summary-sig"><a name="__nonzero__"></a><span class="summary-sig-name">__nonzero__</span>(<span class="summary-sig-arg">self</span>)</span></td>
    459           <td align="right" valign="top">
    460             <span class="codelink"><a href="lldb-pysrc.html#SBError.__nonzero__">source&nbsp;code</a></span>
    461             
    462           </td>
    463         </tr>
    464       </table>
    465       
    466     </td>
    467   </tr>
    468 <tr>
    469     <td width="15%" align="right" valign="top" class="summary">
    470       <span class="summary-type">&nbsp;</span>
    471     </td><td class="summary">
    472       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    473         <tr>
    474           <td><span class="summary-sig"><a name="IsValid"></a><span class="summary-sig-name">IsValid</span>(<span class="summary-sig-arg">self</span>)</span><br />
    475       IsValid(SBError self) -&gt; bool</td>
    476           <td align="right" valign="top">
    477             <span class="codelink"><a href="lldb-pysrc.html#SBError.IsValid">source&nbsp;code</a></span>
    478             
    479           </td>
    480         </tr>
    481       </table>
    482       
    483     </td>
    484   </tr>
    485 <tr>
    486     <td width="15%" align="right" valign="top" class="summary">
    487       <span class="summary-type">&nbsp;</span>
    488     </td><td class="summary">
    489       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    490         <tr>
    491           <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>,
    492         <span class="summary-sig-arg">*args</span>)</span><br />
    493       GetDescription(SBError self, SBStream description) -&gt; bool</td>
    494           <td align="right" valign="top">
    495             <span class="codelink"><a href="lldb-pysrc.html#SBError.GetDescription">source&nbsp;code</a></span>
    496             
    497           </td>
    498         </tr>
    499       </table>
    500       
    501     </td>
    502   </tr>
    503 <tr>
    504     <td width="15%" align="right" valign="top" class="summary">
    505       <span class="summary-type">&nbsp;</span>
    506     </td><td class="summary">
    507       <table width="100%" cellpadding="0" cellspacing="0" border="0">
    508         <tr>
    509           <td><span class="summary-sig"><a href="lldb.SBError-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
    510       __str__(SBError self) -&gt; PyObject *</td>
    511           <td align="right" valign="top">
    512             <span class="codelink"><a href="lldb-pysrc.html#SBError.__str__">source&nbsp;code</a></span>
    513             
    514           </td>
    515         </tr>
    516       </table>
    517       
    518     </td>
    519   </tr>
    520   <tr>
    521     <td colspan="2" class="summary">
    522     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
    523       <code>__delattr__</code>,
    524       <code>__format__</code>,
    525       <code>__getattribute__</code>,
    526       <code>__hash__</code>,
    527       <code>__new__</code>,
    528       <code>__reduce__</code>,
    529       <code>__reduce_ex__</code>,
    530       <code>__sizeof__</code>,
    531       <code>__subclasshook__</code>
    532       </p>
    533     </td>
    534   </tr>
    535 </table>
    536 <!-- ==================== CLASS VARIABLES ==================== -->
    537 <a name="section-ClassVariables"></a>
    538 <table class="summary" border="1" cellpadding="3"
    539        cellspacing="0" width="100%" bgcolor="white">
    540 <tr bgcolor="#70b0f0" class="table-header">
    541   <td colspan="2" class="table-header">
    542     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    543       <tr valign="top">
    544         <td align="left"><span class="table-header">Class Variables</span></td>
    545         <td align="right" valign="top"
    546          ><span class="options">[<a href="#section-ClassVariables"
    547          class="privatelink" onclick="toggle_private();"
    548          >hide private</a>]</span></td>
    549       </tr>
    550     </table>
    551   </td>
    552 </tr>
    553 <tr>
    554     <td width="15%" align="right" valign="top" class="summary">
    555       <span class="summary-type">&nbsp;</span>
    556     </td><td class="summary">
    557         <a name="__swig_setmethods__"></a><span class="summary-name">__swig_setmethods__</span> = <code title="{}"><code class="variable-group">{</code><code class="variable-group">}</code></code>
    558     </td>
    559   </tr>
    560 <tr>
    561     <td width="15%" align="right" valign="top" class="summary">
    562       <span class="summary-type">&nbsp;</span>
    563     </td><td class="summary">
    564         <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code>
    565     </td>
    566   </tr>
    567 </table>
    568 <!-- ==================== PROPERTIES ==================== -->
    569 <a name="section-Properties"></a>
    570 <table class="summary" border="1" cellpadding="3"
    571        cellspacing="0" width="100%" bgcolor="white">
    572 <tr bgcolor="#70b0f0" class="table-header">
    573   <td colspan="2" class="table-header">
    574     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    575       <tr valign="top">
    576         <td align="left"><span class="table-header">Properties</span></td>
    577         <td align="right" valign="top"
    578          ><span class="options">[<a href="#section-Properties"
    579          class="privatelink" onclick="toggle_private();"
    580          >hide private</a>]</span></td>
    581       </tr>
    582     </table>
    583   </td>
    584 </tr>
    585 <tr>
    586     <td width="15%" align="right" valign="top" class="summary">
    587       <span class="summary-type">&nbsp;</span>
    588     </td><td class="summary">
    589         <a href="lldb.SBError-class.html#description" class="summary-name">description</a><br />
    590       A read only property that returns the same result as GetCString().
    591     </td>
    592   </tr>
    593 <tr>
    594     <td width="15%" align="right" valign="top" class="summary">
    595       <span class="summary-type">&nbsp;</span>
    596     </td><td class="summary">
    597         <a href="lldb.SBError-class.html#fail" class="summary-name">fail</a><br />
    598       A read only property that returns the same result as Fail().
    599     </td>
    600   </tr>
    601 <tr>
    602     <td width="15%" align="right" valign="top" class="summary">
    603       <span class="summary-type">&nbsp;</span>
    604     </td><td class="summary">
    605         <a href="lldb.SBError-class.html#success" class="summary-name">success</a><br />
    606       A read only property that returns the same result as Success().
    607     </td>
    608   </tr>
    609 <tr>
    610     <td width="15%" align="right" valign="top" class="summary">
    611       <span class="summary-type">&nbsp;</span>
    612     </td><td class="summary">
    613         <a href="lldb.SBError-class.html#type" class="summary-name">type</a><br />
    614       A read only property that returns the same result as GetType().
    615     </td>
    616   </tr>
    617 <tr>
    618     <td width="15%" align="right" valign="top" class="summary">
    619       <span class="summary-type">&nbsp;</span>
    620     </td><td class="summary">
    621         <a href="lldb.SBError-class.html#value" class="summary-name">value</a><br />
    622       A read only property that returns the same result as GetError().
    623     </td>
    624   </tr>
    625   <tr>
    626     <td colspan="2" class="summary">
    627     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
    628       <code>__class__</code>
    629       </p>
    630     </td>
    631   </tr>
    632 </table>
    633 <!-- ==================== METHOD DETAILS ==================== -->
    634 <a name="section-MethodDetails"></a>
    635 <table class="details" border="1" cellpadding="3"
    636        cellspacing="0" width="100%" bgcolor="white">
    637 <tr bgcolor="#70b0f0" class="table-header">
    638   <td colspan="2" class="table-header">
    639     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    640       <tr valign="top">
    641         <td align="left"><span class="table-header">Method Details</span></td>
    642         <td align="right" valign="top"
    643          ><span class="options">[<a href="#section-MethodDetails"
    644          class="privatelink" onclick="toggle_private();"
    645          >hide private</a>]</span></td>
    646       </tr>
    647     </table>
    648   </td>
    649 </tr>
    650 </table>
    651 <a name="__setattr__"></a>
    652 <div>
    653 <table class="details" border="1" cellpadding="3"
    654        cellspacing="0" width="100%" bgcolor="white">
    655 <tr><td>
    656   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    657   <tr valign="top"><td>
    658   <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>,
    659         <span class="sig-arg">name</span>,
    660         <span class="sig-arg">value</span>)</span>
    661   </h3>
    662   </td><td align="right" valign="top"
    663     ><span class="codelink"><a href="lldb-pysrc.html#SBError.__setattr__">source&nbsp;code</a></span>&nbsp;
    664     </td>
    665   </tr></table>
    666   
    667   <p>x.__setattr__('name', value) &lt;==&gt; x.name = value</p>
    668   <dl class="fields">
    669     <dt>Overrides:
    670         object.__setattr__
    671         <dd><em class="note">(inherited documentation)</em></dd>
    672     </dt>
    673   </dl>
    674 </td></tr></table>
    675 </div>
    676 <a name="__repr__"></a>
    677 <div>
    678 <table class="details" border="1" cellpadding="3"
    679        cellspacing="0" width="100%" bgcolor="white">
    680 <tr><td>
    681   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    682   <tr valign="top"><td>
    683   <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
    684     <br /><em class="fname">(Representation operator)</em>
    685   </h3>
    686   </td><td align="right" valign="top"
    687     ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source&nbsp;code</a></span>&nbsp;
    688     </td>
    689   </tr></table>
    690   
    691   <p>repr(x)</p>
    692   <dl class="fields">
    693     <dt>Overrides:
    694         object.__repr__
    695         <dd><em class="note">(inherited documentation)</em></dd>
    696     </dt>
    697   </dl>
    698 </td></tr></table>
    699 </div>
    700 <a name="__init__"></a>
    701 <div>
    702 <table class="details" border="1" cellpadding="3"
    703        cellspacing="0" width="100%" bgcolor="white">
    704 <tr><td>
    705   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    706   <tr valign="top"><td>
    707   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
    708         <span class="sig-arg">*args</span>)</span>
    709     <br /><em class="fname">(Constructor)</em>
    710   </h3>
    711   </td><td align="right" valign="top"
    712     ><span class="codelink"><a href="lldb-pysrc.html#SBError.__init__">source&nbsp;code</a></span>&nbsp;
    713     </td>
    714   </tr></table>
    715   
    716   <p>__init__(lldb::SBError self) -&gt; SBError __init__(lldb::SBError 
    717   self, SBError rhs) -&gt; SBError</p>
    718   <dl class="fields">
    719     <dt>Overrides:
    720         object.__init__
    721     </dt>
    722   </dl>
    723 </td></tr></table>
    724 </div>
    725 <a name="__str__"></a>
    726 <div>
    727 <table class="details" border="1" cellpadding="3"
    728        cellspacing="0" width="100%" bgcolor="white">
    729 <tr><td>
    730   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    731   <tr valign="top"><td>
    732   <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
    733     <br /><em class="fname">(Informal representation operator)</em>
    734   </h3>
    735   </td><td align="right" valign="top"
    736     ><span class="codelink"><a href="lldb-pysrc.html#SBError.__str__">source&nbsp;code</a></span>&nbsp;
    737     </td>
    738   </tr></table>
    739   
    740   <p>__str__(SBError self) -&gt; PyObject *</p>
    741   <dl class="fields">
    742     <dt>Overrides:
    743         object.__str__
    744     </dt>
    745   </dl>
    746 </td></tr></table>
    747 </div>
    748 <br />
    749 <!-- ==================== PROPERTY DETAILS ==================== -->
    750 <a name="section-PropertyDetails"></a>
    751 <table class="details" border="1" cellpadding="3"
    752        cellspacing="0" width="100%" bgcolor="white">
    753 <tr bgcolor="#70b0f0" class="table-header">
    754   <td colspan="2" class="table-header">
    755     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    756       <tr valign="top">
    757         <td align="left"><span class="table-header">Property Details</span></td>
    758         <td align="right" valign="top"
    759          ><span class="options">[<a href="#section-PropertyDetails"
    760          class="privatelink" onclick="toggle_private();"
    761          >hide private</a>]</span></td>
    762       </tr>
    763     </table>
    764   </td>
    765 </tr>
    766 </table>
    767 <a name="description"></a>
    768 <div>
    769 <table class="details" border="1" cellpadding="3"
    770        cellspacing="0" width="100%" bgcolor="white">
    771 <tr><td>
    772   <h3 class="epydoc">description</h3>
    773   <p>A read only property that returns the same result as GetCString().</p>
    774   <dl class="fields">
    775     <dt>Get Method:</dt>
    776     <dd class="value"><span class="summary-sig"><a href="lldb.SBError-class.html#GetCString" class="summary-sig-name">GetCString</a>(<span class="summary-sig-arg">self</span>)</span>
    777         - GetCString(SBError self) -&gt; str const *
    778     </dd>
    779   </dl>
    780 </td></tr></table>
    781 </div>
    782 <a name="fail"></a>
    783 <div>
    784 <table class="details" border="1" cellpadding="3"
    785        cellspacing="0" width="100%" bgcolor="white">
    786 <tr><td>
    787   <h3 class="epydoc">fail</h3>
    788   <p>A read only property that returns the same result as Fail().</p>
    789   <dl class="fields">
    790     <dt>Get Method:</dt>
    791     <dd class="value"><span class="summary-sig"><a href="lldb.SBError-class.html#Fail" class="summary-sig-name">Fail</a>(<span class="summary-sig-arg">self</span>)</span>
    792         - Fail(SBError self) -&gt; bool
    793     </dd>
    794   </dl>
    795 </td></tr></table>
    796 </div>
    797 <a name="success"></a>
    798 <div>
    799 <table class="details" border="1" cellpadding="3"
    800        cellspacing="0" width="100%" bgcolor="white">
    801 <tr><td>
    802   <h3 class="epydoc">success</h3>
    803   <p>A read only property that returns the same result as Success().</p>
    804   <dl class="fields">
    805     <dt>Get Method:</dt>
    806     <dd class="value"><span class="summary-sig"><a href="lldb.SBError-class.html#Success" class="summary-sig-name">Success</a>(<span class="summary-sig-arg">self</span>)</span>
    807         - Success(SBError self) -&gt; bool
    808     </dd>
    809   </dl>
    810 </td></tr></table>
    811 </div>
    812 <a name="type"></a>
    813 <div>
    814 <table class="details" border="1" cellpadding="3"
    815        cellspacing="0" width="100%" bgcolor="white">
    816 <tr><td>
    817   <h3 class="epydoc">type</h3>
    818   <p>A read only property that returns the same result as GetType().</p>
    819   <dl class="fields">
    820     <dt>Get Method:</dt>
    821     <dd class="value"><span class="summary-sig"><a href="lldb.SBError-class.html#GetType" class="summary-sig-name">GetType</a>(<span class="summary-sig-arg">self</span>)</span>
    822         - GetType(SBError self) -&gt; lldb::ErrorType
    823     </dd>
    824   </dl>
    825 </td></tr></table>
    826 </div>
    827 <a name="value"></a>
    828 <div>
    829 <table class="details" border="1" cellpadding="3"
    830        cellspacing="0" width="100%" bgcolor="white">
    831 <tr><td>
    832   <h3 class="epydoc">value</h3>
    833   <p>A read only property that returns the same result as GetError().</p>
    834   <dl class="fields">
    835     <dt>Get Method:</dt>
    836     <dd class="value"><span class="summary-sig"><a href="lldb.SBError-class.html#GetError" class="summary-sig-name">GetError</a>(<span class="summary-sig-arg">self</span>)</span>
    837         - GetError(SBError self) -&gt; uint32_t
    838     </dd>
    839   </dl>
    840 </td></tr></table>
    841 </div>
    842 <br />
    843 <!-- ==================== NAVIGATION BAR ==================== -->
    844 <table class="navbar" border="0" width="100%" cellpadding="0"
    845        bgcolor="#a0c0ff" cellspacing="0">
    846   <tr valign="middle">
    847 
    848   <!-- Tree link -->
    849       <th>&nbsp;&nbsp;&nbsp;<a
    850         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    851 
    852   <!-- Index link -->
    853       <th>&nbsp;&nbsp;&nbsp;<a
    854         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
    855 
    856   <!-- Help link -->
    857       <th>&nbsp;&nbsp;&nbsp;<a
    858         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    859 
    860   <!-- Project homepage -->
    861       <th class="navbar" align="right" width="100%">
    862         <table border="0" cellpadding="0" cellspacing="0">
    863           <tr><th class="navbar" align="center"
    864             ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
    865           </tr></table></th>
    866   </tr>
    867 </table>
    868 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
    869   <tr>
    870     <td align="left" class="footer">
    871     Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013
    872     </td>
    873     <td align="right" class="footer">
    874       <a target="mainFrame" href="http://epydoc.sourceforge.net"
    875         >http://epydoc.sourceforge.net</a>
    876     </td>
    877   </tr>
    878 </table>
    879 
    880 <script type="text/javascript">
    881   <!--
    882   // Private objects are initially displayed (because if
    883   // javascript is turned off then we want them to be
    884   // visible); but by default, we want to hide them.  So hide
    885   // them unless we have a cookie that says to show them.
    886   checkCookie();
    887   // -->
    888 </script>
    889 </body>
    890 </html>
    891