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.SBEvent</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> <a 20 href="module-tree.html">Trees</a> </th> 21 22 <!-- Index link --> 23 <th> <a 24 href="identifier-index.html">Indices</a> </th> 25 26 <!-- Help link --> 27 <th> <a 28 href="help.html">Help</a> </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 lldb</a> :: 43 Class SBEvent 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 private</a>]</span></td></tr> 51 <tr><td align="right"><span class="options" 52 >[<a href="frames.html" target="_top">frames</a 53 >] | <a href="lldb.SBEvent-class.html" 54 target="_top">no frames</a>]</span></td></tr> 55 </table> 56 </td> 57 </tr> 58 </table> 59 <!-- ==================== CLASS DESCRIPTION ==================== --> 60 <h1 class="epydoc">Class SBEvent</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBEvent">source code</a></span></p> 61 <center> 62 <center> <map id="uml_class_diagram_for_lldb_sbe_2" name="uml_class_diagram_for_lldb_sbe_2"> 63 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__swig_setmethods__" title="lldb.SBEvent.__swig_setmethods__" alt="" coords="17,31,233,49"/> 64 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__swig_getmethods__" title="lldb.SBEvent.__swig_getmethods__" alt="" coords="17,49,233,68"/> 65 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,71,233,89"/> 66 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__getattr__" title="lldb.SBEvent.__getattr__" alt="" coords="17,89,233,108"/> 67 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__repr__" title="repr(x)" alt="" coords="17,108,233,127"/> 68 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__init__" title="__init__(lldb::SBEvent self) -> SBEvent __init__(lldb::SBEvent self,  SBEvent rhs) -> SBEvent __init__(self, int type, str data) -> SBEvent (make an event that contains a C string)" alt="" coords="17,127,233,145"/> 69 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__swig_destroy__" title="delete_SBEvent(SBEvent self)" alt="" coords="17,145,233,164"/> 70 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__del__" title="lldb.SBEvent.__del__" alt="" coords="17,164,233,183"/> 71 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#__nonzero__" title="lldb.SBEvent.__nonzero__" alt="" coords="17,183,233,201"/> 72 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#IsValid" title="IsValid(SBEvent self) -> bool" alt="" coords="17,201,233,220"/> 73 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#GetDataFlavor" title="GetDataFlavor(SBEvent self) -> str const *" alt="" coords="17,220,233,239"/> 74 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#GetType" title="GetType(SBEvent self) -> uint32_t" alt="" coords="17,239,233,257"/> 75 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#GetBroadcaster" title="GetBroadcaster(SBEvent self) -> SBBroadcaster" alt="" coords="17,257,233,276"/> 76 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#GetBroadcasterClass" title="GetBroadcasterClass(SBEvent self) -> str const *" alt="" coords="17,276,233,295"/> 77 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#BroadcasterMatchesRef" title="BroadcasterMatchesRef(SBEvent self, SBBroadcaster broadcaster) -> bool" alt="" coords="17,295,233,313"/> 78 <area shape="rect" id="node15" href="lldb.SBEvent-class.html#GetDescription" title="GetDescription(SBEvent self, SBStream description) -> bool" alt="" coords="17,332,233,351"/> 79 <area shape="rect" id="node1" href="lldb.SBEvent-class.html" title="API clients can register to receive events." alt="" coords="5,6,245,357"/> 80 </map> 81 <img src="uml_class_diagram_for_lldb_sbe_2.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbe_2" ismap="ismap" class="graph-without-title" /> 82 </center> 83 </center> 84 <hr /> 85 <pre class="literalblock"> 86 87 API clients can register to receive events. 88 89 For example, check out the following output: 90 91 Try wait for event... 92 Event description: 0x103d0bb70 Event: broadcaster = 0x1009c8410, type = 0x00000001, data = { process = 0x1009c8400 (pid = 21528), state = running} 93 Event data flavor: Process::ProcessEventData 94 Process state: running 95 96 Try wait for event... 97 Event description: 0x103a700a0 Event: broadcaster = 0x1009c8410, type = 0x00000001, data = { process = 0x1009c8400 (pid = 21528), state = stopped} 98 Event data flavor: Process::ProcessEventData 99 Process state: stopped 100 101 Try wait for event... 102 Event description: 0x103d0d4a0 Event: broadcaster = 0x1009c8410, type = 0x00000001, data = { process = 0x1009c8400 (pid = 21528), state = exited} 103 Event data flavor: Process::ProcessEventData 104 Process state: exited 105 106 Try wait for event... 107 timeout occurred waiting for event... 108 109 from test/python_api/event/TestEventspy: 110 111 def do_listen_for_and_print_event(self): 112 '''Create a listener and use SBEvent API to print the events received.''' 113 exe = os.path.join(os.getcwd(), 'a.out') 114 115 # Create a target by the debugger. 116 target = self.dbg.CreateTarget(exe) 117 self.assertTrue(target, VALID_TARGET) 118 119 # Now create a breakpoint on main.c by name 'c'. 120 breakpoint = target.BreakpointCreateByName('c', 'a.out') 121 122 # Now launch the process, and do not stop at the entry point. 123 process = target.LaunchSimple(None, None, os.getcwd()) 124 self.assertTrue(process.GetState() == lldb.eStateStopped, 125 PROCESS_STOPPED) 126 127 # Get a handle on the process's broadcaster. 128 broadcaster = process.GetBroadcaster() 129 130 # Create an empty event object. 131 event = lldb.SBEvent() 132 133 # Create a listener object and register with the broadcaster. 134 listener = lldb.SBListener('my listener') 135 rc = broadcaster.AddListener(listener, lldb.SBProcess.eBroadcastBitStateChanged) 136 self.assertTrue(rc, 'AddListener successfully retruns') 137 138 traceOn = self.TraceOn() 139 if traceOn: 140 lldbutil.print_stacktraces(process) 141 142 # Create MyListeningThread class to wait for any kind of event. 143 import threading 144 class MyListeningThread(threading.Thread): 145 def run(self): 146 count = 0 147 # Let's only try at most 4 times to retrieve any kind of event. 148 # After that, the thread exits. 149 while not count > 3: 150 if traceOn: 151 print 'Try wait for event...' 152 if listener.WaitForEventForBroadcasterWithType(5, 153 broadcaster, 154 lldb.SBProcess.eBroadcastBitStateChanged, 155 event): 156 if traceOn: 157 desc = lldbutil.get_description(event) 158 print 'Event description:', desc 159 print 'Event data flavor:', event.GetDataFlavor() 160 print 'Process state:', lldbutil.state_type_to_str(process.GetState()) 161 print 162 else: 163 if traceOn: 164 print 'timeout occurred waiting for event...' 165 count = count + 1 166 return 167 168 # Let's start the listening thread to retrieve the events. 169 my_thread = MyListeningThread() 170 my_thread.start() 171 172 # Use Python API to continue the process. The listening thread should be 173 # able to receive the state changed events. 174 process.Continue() 175 176 # Use Python API to kill the process. The listening thread should be 177 # able to receive the state changed event, too. 178 process.Kill() 179 180 # Wait until the 'MyListeningThread' terminates. 181 my_thread.join() 182 183 </pre> 184 185 <!-- ==================== INSTANCE METHODS ==================== --> 186 <a name="section-InstanceMethods"></a> 187 <table class="summary" border="1" cellpadding="3" 188 cellspacing="0" width="100%" bgcolor="white"> 189 <tr bgcolor="#70b0f0" class="table-header"> 190 <td colspan="2" class="table-header"> 191 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 192 <tr valign="top"> 193 <td align="left"><span class="table-header">Instance Methods</span></td> 194 <td align="right" valign="top" 195 ><span class="options">[<a href="#section-InstanceMethods" 196 class="privatelink" onclick="toggle_private();" 197 >hide private</a>]</span></td> 198 </tr> 199 </table> 200 </td> 201 </tr> 202 <tr> 203 <td width="15%" align="right" valign="top" class="summary"> 204 <span class="summary-type"> </span> 205 </td><td class="summary"> 206 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 207 <tr> 208 <td><span class="summary-sig"><a href="lldb.SBEvent-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 209 <span class="summary-sig-arg">name</span>, 210 <span class="summary-sig-arg">value</span>)</span><br /> 211 x.__setattr__('name', value) <==> x.name = value</td> 212 <td align="right" valign="top"> 213 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.__setattr__">source code</a></span> 214 215 </td> 216 </tr> 217 </table> 218 219 </td> 220 </tr> 221 <tr> 222 <td width="15%" align="right" valign="top" class="summary"> 223 <span class="summary-type"> </span> 224 </td><td class="summary"> 225 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 226 <tr> 227 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 228 <span class="summary-sig-arg">name</span>)</span></td> 229 <td align="right" valign="top"> 230 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.__getattr__">source code</a></span> 231 232 </td> 233 </tr> 234 </table> 235 236 </td> 237 </tr> 238 <tr> 239 <td width="15%" align="right" valign="top" class="summary"> 240 <span class="summary-type"> </span> 241 </td><td class="summary"> 242 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 243 <tr> 244 <td><span class="summary-sig"><a href="lldb.SBEvent-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 245 repr(x)</td> 246 <td align="right" valign="top"> 247 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 248 249 </td> 250 </tr> 251 </table> 252 253 </td> 254 </tr> 255 <tr> 256 <td width="15%" align="right" valign="top" class="summary"> 257 <span class="summary-type"> </span> 258 </td><td class="summary"> 259 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 260 <tr> 261 <td><span class="summary-sig"><a href="lldb.SBEvent-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 262 <span class="summary-sig-arg">*args</span>)</span><br /> 263 __init__(lldb::SBEvent self) -> SBEvent __init__(lldb::SBEvent 264 self, SBEvent rhs) -> SBEvent __init__(self, int type, str data) 265 -> SBEvent (make an event that contains a C string)</td> 266 <td align="right" valign="top"> 267 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.__init__">source code</a></span> 268 269 </td> 270 </tr> 271 </table> 272 273 </td> 274 </tr> 275 <tr> 276 <td width="15%" align="right" valign="top" class="summary"> 277 <span class="summary-type"> </span> 278 </td><td class="summary"> 279 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 280 <tr> 281 <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 /> 282 delete_SBEvent(SBEvent self)</td> 283 <td align="right" valign="top"> 284 285 286 </td> 287 </tr> 288 </table> 289 290 </td> 291 </tr> 292 <tr> 293 <td width="15%" align="right" valign="top" class="summary"> 294 <span class="summary-type"> </span> 295 </td><td class="summary"> 296 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 297 <tr> 298 <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> 299 <td align="right" valign="top"> 300 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.__del__">source code</a></span> 301 302 </td> 303 </tr> 304 </table> 305 306 </td> 307 </tr> 308 <tr> 309 <td width="15%" align="right" valign="top" class="summary"> 310 <span class="summary-type"> </span> 311 </td><td class="summary"> 312 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 313 <tr> 314 <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> 315 <td align="right" valign="top"> 316 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.__nonzero__">source code</a></span> 317 318 </td> 319 </tr> 320 </table> 321 322 </td> 323 </tr> 324 <tr> 325 <td width="15%" align="right" valign="top" class="summary"> 326 <span class="summary-type"> </span> 327 </td><td class="summary"> 328 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 329 <tr> 330 <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 /> 331 IsValid(SBEvent self) -> bool</td> 332 <td align="right" valign="top"> 333 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.IsValid">source code</a></span> 334 335 </td> 336 </tr> 337 </table> 338 339 </td> 340 </tr> 341 <tr> 342 <td width="15%" align="right" valign="top" class="summary"> 343 <span class="summary-type"> </span> 344 </td><td class="summary"> 345 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 346 <tr> 347 <td><span class="summary-sig"><a name="GetDataFlavor"></a><span class="summary-sig-name">GetDataFlavor</span>(<span class="summary-sig-arg">self</span>)</span><br /> 348 GetDataFlavor(SBEvent self) -> str const *</td> 349 <td align="right" valign="top"> 350 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.GetDataFlavor">source code</a></span> 351 352 </td> 353 </tr> 354 </table> 355 356 </td> 357 </tr> 358 <tr> 359 <td width="15%" align="right" valign="top" class="summary"> 360 <span class="summary-type"> </span> 361 </td><td class="summary"> 362 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 363 <tr> 364 <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 /> 365 GetType(SBEvent self) -> uint32_t</td> 366 <td align="right" valign="top"> 367 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.GetType">source code</a></span> 368 369 </td> 370 </tr> 371 </table> 372 373 </td> 374 </tr> 375 <tr> 376 <td width="15%" align="right" valign="top" class="summary"> 377 <span class="summary-type"> </span> 378 </td><td class="summary"> 379 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 380 <tr> 381 <td><span class="summary-sig"><a name="GetBroadcaster"></a><span class="summary-sig-name">GetBroadcaster</span>(<span class="summary-sig-arg">self</span>)</span><br /> 382 GetBroadcaster(SBEvent self) -> SBBroadcaster</td> 383 <td align="right" valign="top"> 384 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.GetBroadcaster">source code</a></span> 385 386 </td> 387 </tr> 388 </table> 389 390 </td> 391 </tr> 392 <tr> 393 <td width="15%" align="right" valign="top" class="summary"> 394 <span class="summary-type"> </span> 395 </td><td class="summary"> 396 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 397 <tr> 398 <td><span class="summary-sig"><a name="GetBroadcasterClass"></a><span class="summary-sig-name">GetBroadcasterClass</span>(<span class="summary-sig-arg">self</span>)</span><br /> 399 GetBroadcasterClass(SBEvent self) -> str const *</td> 400 <td align="right" valign="top"> 401 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.GetBroadcasterClass">source code</a></span> 402 403 </td> 404 </tr> 405 </table> 406 407 </td> 408 </tr> 409 <tr> 410 <td width="15%" align="right" valign="top" class="summary"> 411 <span class="summary-type"> </span> 412 </td><td class="summary"> 413 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 414 <tr> 415 <td><span class="summary-sig"><a name="BroadcasterMatchesRef"></a><span class="summary-sig-name">BroadcasterMatchesRef</span>(<span class="summary-sig-arg">self</span>, 416 <span class="summary-sig-arg">*args</span>)</span><br /> 417 BroadcasterMatchesRef(SBEvent self, SBBroadcaster broadcaster) -> 418 bool</td> 419 <td align="right" valign="top"> 420 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.BroadcasterMatchesRef">source code</a></span> 421 422 </td> 423 </tr> 424 </table> 425 426 </td> 427 </tr> 428 <tr> 429 <td width="15%" align="right" valign="top" class="summary"> 430 <span class="summary-type"> </span> 431 </td><td class="summary"> 432 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 433 <tr> 434 <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 /> 435 Clear(SBEvent self)</td> 436 <td align="right" valign="top"> 437 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.Clear">source code</a></span> 438 439 </td> 440 </tr> 441 </table> 442 443 </td> 444 </tr> 445 <tr> 446 <td width="15%" align="right" valign="top" class="summary"> 447 <span class="summary-type"> </span> 448 </td><td class="summary"> 449 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 450 <tr> 451 <td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>, 452 <span class="summary-sig-arg">*args</span>)</span><br /> 453 GetDescription(SBEvent self, SBStream description) -> bool</td> 454 <td align="right" valign="top"> 455 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.GetDescription">source code</a></span> 456 457 </td> 458 </tr> 459 </table> 460 461 </td> 462 </tr> 463 <tr> 464 <td colspan="2" class="summary"> 465 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 466 <code>__delattr__</code>, 467 <code>__format__</code>, 468 <code>__getattribute__</code>, 469 <code>__hash__</code>, 470 <code>__new__</code>, 471 <code>__reduce__</code>, 472 <code>__reduce_ex__</code>, 473 <code>__sizeof__</code>, 474 <code>__str__</code>, 475 <code>__subclasshook__</code> 476 </p> 477 </td> 478 </tr> 479 </table> 480 <!-- ==================== STATIC METHODS ==================== --> 481 <a name="section-StaticMethods"></a> 482 <table class="summary" border="1" cellpadding="3" 483 cellspacing="0" width="100%" bgcolor="white"> 484 <tr bgcolor="#70b0f0" class="table-header"> 485 <td colspan="2" class="table-header"> 486 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 487 <tr valign="top"> 488 <td align="left"><span class="table-header">Static Methods</span></td> 489 <td align="right" valign="top" 490 ><span class="options">[<a href="#section-StaticMethods" 491 class="privatelink" onclick="toggle_private();" 492 >hide private</a>]</span></td> 493 </tr> 494 </table> 495 </td> 496 </tr> 497 <tr> 498 <td width="15%" align="right" valign="top" class="summary"> 499 <span class="summary-type"> </span> 500 </td><td class="summary"> 501 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 502 <tr> 503 <td><span class="summary-sig"><a name="GetCStringFromEvent"></a><span class="summary-sig-name">GetCStringFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 504 GetCStringFromEvent(SBEvent event) -> str const *</td> 505 <td align="right" valign="top"> 506 <span class="codelink"><a href="lldb-pysrc.html#SBEvent.GetCStringFromEvent">source code</a></span> 507 508 </td> 509 </tr> 510 </table> 511 512 </td> 513 </tr> 514 </table> 515 <!-- ==================== CLASS VARIABLES ==================== --> 516 <a name="section-ClassVariables"></a> 517 <table class="summary" border="1" cellpadding="3" 518 cellspacing="0" width="100%" bgcolor="white"> 519 <tr bgcolor="#70b0f0" class="table-header"> 520 <td colspan="2" class="table-header"> 521 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 522 <tr valign="top"> 523 <td align="left"><span class="table-header">Class Variables</span></td> 524 <td align="right" valign="top" 525 ><span class="options">[<a href="#section-ClassVariables" 526 class="privatelink" onclick="toggle_private();" 527 >hide private</a>]</span></td> 528 </tr> 529 </table> 530 </td> 531 </tr> 532 <tr> 533 <td width="15%" align="right" valign="top" class="summary"> 534 <span class="summary-type"> </span> 535 </td><td class="summary"> 536 <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> 537 </td> 538 </tr> 539 <tr> 540 <td width="15%" align="right" valign="top" class="summary"> 541 <span class="summary-type"> </span> 542 </td><td class="summary"> 543 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 544 </td> 545 </tr> 546 </table> 547 <!-- ==================== PROPERTIES ==================== --> 548 <a name="section-Properties"></a> 549 <table class="summary" border="1" cellpadding="3" 550 cellspacing="0" width="100%" bgcolor="white"> 551 <tr bgcolor="#70b0f0" class="table-header"> 552 <td colspan="2" class="table-header"> 553 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 554 <tr valign="top"> 555 <td align="left"><span class="table-header">Properties</span></td> 556 <td align="right" valign="top" 557 ><span class="options">[<a href="#section-Properties" 558 class="privatelink" onclick="toggle_private();" 559 >hide private</a>]</span></td> 560 </tr> 561 </table> 562 </td> 563 </tr> 564 <tr> 565 <td colspan="2" class="summary"> 566 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 567 <code>__class__</code> 568 </p> 569 </td> 570 </tr> 571 </table> 572 <!-- ==================== METHOD DETAILS ==================== --> 573 <a name="section-MethodDetails"></a> 574 <table class="details" border="1" cellpadding="3" 575 cellspacing="0" width="100%" bgcolor="white"> 576 <tr bgcolor="#70b0f0" class="table-header"> 577 <td colspan="2" class="table-header"> 578 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 579 <tr valign="top"> 580 <td align="left"><span class="table-header">Method Details</span></td> 581 <td align="right" valign="top" 582 ><span class="options">[<a href="#section-MethodDetails" 583 class="privatelink" onclick="toggle_private();" 584 >hide private</a>]</span></td> 585 </tr> 586 </table> 587 </td> 588 </tr> 589 </table> 590 <a name="__setattr__"></a> 591 <div> 592 <table class="details" border="1" cellpadding="3" 593 cellspacing="0" width="100%" bgcolor="white"> 594 <tr><td> 595 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 596 <tr valign="top"><td> 597 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 598 <span class="sig-arg">name</span>, 599 <span class="sig-arg">value</span>)</span> 600 </h3> 601 </td><td align="right" valign="top" 602 ><span class="codelink"><a href="lldb-pysrc.html#SBEvent.__setattr__">source code</a></span> 603 </td> 604 </tr></table> 605 606 <p>x.__setattr__('name', value) <==> x.name = value</p> 607 <dl class="fields"> 608 <dt>Overrides: 609 object.__setattr__ 610 <dd><em class="note">(inherited documentation)</em></dd> 611 </dt> 612 </dl> 613 </td></tr></table> 614 </div> 615 <a name="__repr__"></a> 616 <div> 617 <table class="details" border="1" cellpadding="3" 618 cellspacing="0" width="100%" bgcolor="white"> 619 <tr><td> 620 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 621 <tr valign="top"><td> 622 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 623 <br /><em class="fname">(Representation operator)</em> 624 </h3> 625 </td><td align="right" valign="top" 626 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 627 </td> 628 </tr></table> 629 630 <p>repr(x)</p> 631 <dl class="fields"> 632 <dt>Overrides: 633 object.__repr__ 634 <dd><em class="note">(inherited documentation)</em></dd> 635 </dt> 636 </dl> 637 </td></tr></table> 638 </div> 639 <a name="__init__"></a> 640 <div> 641 <table class="details" border="1" cellpadding="3" 642 cellspacing="0" width="100%" bgcolor="white"> 643 <tr><td> 644 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 645 <tr valign="top"><td> 646 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 647 <span class="sig-arg">*args</span>)</span> 648 <br /><em class="fname">(Constructor)</em> 649 </h3> 650 </td><td align="right" valign="top" 651 ><span class="codelink"><a href="lldb-pysrc.html#SBEvent.__init__">source code</a></span> 652 </td> 653 </tr></table> 654 655 <p>__init__(lldb::SBEvent self) -> SBEvent __init__(lldb::SBEvent 656 self, SBEvent rhs) -> SBEvent __init__(self, int type, str data) -> 657 SBEvent (make an event that contains a C string)</p> 658 <dl class="fields"> 659 <dt>Overrides: 660 object.__init__ 661 </dt> 662 </dl> 663 </td></tr></table> 664 </div> 665 <br /> 666 <!-- ==================== NAVIGATION BAR ==================== --> 667 <table class="navbar" border="0" width="100%" cellpadding="0" 668 bgcolor="#a0c0ff" cellspacing="0"> 669 <tr valign="middle"> 670 671 <!-- Tree link --> 672 <th> <a 673 href="module-tree.html">Trees</a> </th> 674 675 <!-- Index link --> 676 <th> <a 677 href="identifier-index.html">Indices</a> </th> 678 679 <!-- Help link --> 680 <th> <a 681 href="help.html">Help</a> </th> 682 683 <!-- Project homepage --> 684 <th class="navbar" align="right" width="100%"> 685 <table border="0" cellpadding="0" cellspacing="0"> 686 <tr><th class="navbar" align="center" 687 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 688 </tr></table></th> 689 </tr> 690 </table> 691 <table border="0" cellpadding="0" cellspacing="0" width="100%%"> 692 <tr> 693 <td align="left" class="footer"> 694 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:35 2013 695 </td> 696 <td align="right" class="footer"> 697 <a target="mainFrame" href="http://epydoc.sourceforge.net" 698 >http://epydoc.sourceforge.net</a> 699 </td> 700 </tr> 701 </table> 702 703 <script type="text/javascript"> 704 <!-- 705 // Private objects are initially displayed (because if 706 // javascript is turned off then we want them to be 707 // visible); but by default, we want to hide them. So hide 708 // them unless we have a cookie that says to show them. 709 checkCookie(); 710 // --> 711 </script> 712 </body> 713 </html> 714