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.SBCommandInterpreter</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 SBCommandInterpreter 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.SBCommandInterpreter-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 SBCommandInterpreter</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter">source code</a></span></p> 61<center> 62<center> <map id="uml_class_diagram_for_lldb_sbc" name="uml_class_diagram_for_lldb_sbc"> 63<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__swig_setmethods__" title="lldb.SBCommandInterpreter.__swig_setmethods__" alt="" coords="17,31,265,49"/> 64<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__swig_getmethods__" title="lldb.SBCommandInterpreter.__swig_getmethods__" alt="" coords="17,49,265,68"/> 65<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#eBroadcastBitThreadShouldExit" title="lldb.SBCommandInterpreter.eBroadcastBitThreadShouldExit" alt="" coords="17,68,265,87"/> 66<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#eBroadcastBitResetPrompt" title="lldb.SBCommandInterpreter.eBroadcastBitResetPrompt" alt="" coords="17,87,265,105"/> 67<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#eBroadcastBitQuitCommandReceived" title="lldb.SBCommandInterpreter.eBroadcastBitQuitCommandReceived" alt="" coords="17,105,265,124"/> 68<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#eBroadcastBitAsynchronousOutputData" title="lldb.SBCommandInterpreter.eBroadcastBitAsynchronousOutputData" alt="" coords="17,124,265,143"/> 69<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#eBroadcastBitAsynchronousErrorData" title="lldb.SBCommandInterpreter.eBroadcastBitAsynchronousErrorData" alt="" coords="17,143,265,161"/> 70<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,164,265,183"/> 71<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__getattr__" title="lldb.SBCommandInterpreter.__getattr__" alt="" coords="17,183,265,201"/> 72<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__repr__" title="repr(x)" alt="" coords="17,201,265,220"/> 73<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__init__" title="__init__(lldb::SBCommandInterpreter self, SBCommandInterpreter rhs) ->  SBCommandInterpreter" alt="" coords="17,220,265,239"/> 74<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__swig_destroy__" title="delete_SBCommandInterpreter(SBCommandInterpreter self)" alt="" coords="17,239,265,257"/> 75<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__del__" title="lldb.SBCommandInterpreter.__del__" alt="" coords="17,257,265,276"/> 76<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#GetArgumentTypeAsCString" title="GetArgumentTypeAsCString(lldb::CommandArgumentType const arg_type) -> str  const *" alt="" coords="17,276,265,295"/> 77<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#GetArgumentDescriptionAsCString" title="GetArgumentDescriptionAsCString(lldb::CommandArgumentType const arg_type)  -> str const *" alt="" coords="17,295,265,313"/> 78<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#__nonzero__" title="lldb.SBCommandInterpreter.__nonzero__" alt="" coords="17,313,265,332"/> 79<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#IsValid" title="IsValid(SBCommandInterpreter self) -> bool" alt="" coords="17,332,265,351"/> 80<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#CommandExists" title="CommandExists(SBCommandInterpreter self, str const * cmd) -> bool" alt="" coords="17,351,265,369"/> 81<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#AliasExists" title="AliasExists(SBCommandInterpreter self, str const * cmd) -> bool" alt="" coords="17,369,265,388"/> 82<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#GetBroadcaster" title="GetBroadcaster(SBCommandInterpreter self) -> SBBroadcaster" alt="" coords="17,388,265,407"/> 83<area shape="rect" id="node7" href="lldb.SBCommandInterpreter-class.html#HandleCompletion" title="HandleCompletion(SBCommandInterpreter self, str const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, ..." alt="" coords="17,425,265,444"/> 84<area shape="rect" id="node1" href="lldb.SBCommandInterpreter-class.html" title="SBCommandInterpreter handles/interprets commands for lldb." alt="" coords="5,6,277,450"/> 85</map> 86 <img src="uml_class_diagram_for_lldb_sbc.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbc" ismap="ismap" class="graph-without-title" /> 87</center> 88</center> 89<hr /> 90<pre class="literalblock"> 91 92SBCommandInterpreter handles/interprets commands for lldb. You get the 93command interpreter from the SBDebugger instance. For example (from test/ 94python_api/interpreter/TestCommandInterpreterAPI.py), 95 96 def command_interpreter_api(self): 97 '''Test the SBCommandInterpreter APIs.''' 98 exe = os.path.join(os.getcwd(), 'a.out') 99 100 # Create a target by the debugger. 101 target = self.dbg.CreateTarget(exe) 102 self.assertTrue(target, VALID_TARGET) 103 104 # Retrieve the associated command interpreter from our debugger. 105 ci = self.dbg.GetCommandInterpreter() 106 self.assertTrue(ci, VALID_COMMAND_INTERPRETER) 107 108 # Exercise some APIs.... 109 110 self.assertTrue(ci.HasCommands()) 111 self.assertTrue(ci.HasAliases()) 112 self.assertTrue(ci.HasAliasOptions()) 113 self.assertTrue(ci.CommandExists('breakpoint')) 114 self.assertTrue(ci.CommandExists('target')) 115 self.assertTrue(ci.CommandExists('platform')) 116 self.assertTrue(ci.AliasExists('file')) 117 self.assertTrue(ci.AliasExists('run')) 118 self.assertTrue(ci.AliasExists('bt')) 119 120 res = lldb.SBCommandReturnObject() 121 ci.HandleCommand('breakpoint set -f main.c -l %d' % self.line, res) 122 self.assertTrue(res.Succeeded()) 123 ci.HandleCommand('process launch', res) 124 self.assertTrue(res.Succeeded()) 125 126 process = ci.GetProcess() 127 self.assertTrue(process) 128 129 ... 130 131The HandleCommand() instance method takes two args: the command string and 132an SBCommandReturnObject instance which encapsulates the result of command 133execution. 134 135</pre> 136 137<!-- ==================== INSTANCE METHODS ==================== --> 138<a name="section-InstanceMethods"></a> 139<table class="summary" border="1" cellpadding="3" 140 cellspacing="0" width="100%" bgcolor="white"> 141<tr bgcolor="#70b0f0" class="table-header"> 142 <td colspan="2" class="table-header"> 143 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 144 <tr valign="top"> 145 <td align="left"><span class="table-header">Instance Methods</span></td> 146 <td align="right" valign="top" 147 ><span class="options">[<a href="#section-InstanceMethods" 148 class="privatelink" onclick="toggle_private();" 149 >hide private</a>]</span></td> 150 </tr> 151 </table> 152 </td> 153</tr> 154<tr> 155 <td width="15%" align="right" valign="top" class="summary"> 156 <span class="summary-type"> </span> 157 </td><td class="summary"> 158 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 159 <tr> 160 <td><span class="summary-sig"><a href="lldb.SBCommandInterpreter-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>, 161 <span class="summary-sig-arg">name</span>, 162 <span class="summary-sig-arg">value</span>)</span><br /> 163 x.__setattr__('name', value) <==> x.name = value</td> 164 <td align="right" valign="top"> 165 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__setattr__">source code</a></span> 166 167 </td> 168 </tr> 169 </table> 170 171 </td> 172 </tr> 173<tr> 174 <td width="15%" align="right" valign="top" class="summary"> 175 <span class="summary-type"> </span> 176 </td><td class="summary"> 177 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 178 <tr> 179 <td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>, 180 <span class="summary-sig-arg">name</span>)</span></td> 181 <td align="right" valign="top"> 182 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__getattr__">source code</a></span> 183 184 </td> 185 </tr> 186 </table> 187 188 </td> 189 </tr> 190<tr> 191 <td width="15%" align="right" valign="top" class="summary"> 192 <span class="summary-type"> </span> 193 </td><td class="summary"> 194 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 195 <tr> 196 <td><span class="summary-sig"><a href="lldb.SBCommandInterpreter-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 197 repr(x)</td> 198 <td align="right" valign="top"> 199 <span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 200 201 </td> 202 </tr> 203 </table> 204 205 </td> 206 </tr> 207<tr> 208 <td width="15%" align="right" valign="top" class="summary"> 209 <span class="summary-type"> </span> 210 </td><td class="summary"> 211 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 212 <tr> 213 <td><span class="summary-sig"><a href="lldb.SBCommandInterpreter-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 214 <span class="summary-sig-arg">*args</span>)</span><br /> 215 __init__(lldb::SBCommandInterpreter self, SBCommandInterpreter rhs) 216 -> SBCommandInterpreter</td> 217 <td align="right" valign="top"> 218 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__init__">source code</a></span> 219 220 </td> 221 </tr> 222 </table> 223 224 </td> 225 </tr> 226<tr> 227 <td width="15%" align="right" valign="top" class="summary"> 228 <span class="summary-type"> </span> 229 </td><td class="summary"> 230 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 231 <tr> 232 <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 /> 233 delete_SBCommandInterpreter(SBCommandInterpreter self)</td> 234 <td align="right" valign="top"> 235 236 237 </td> 238 </tr> 239 </table> 240 241 </td> 242 </tr> 243<tr> 244 <td width="15%" align="right" valign="top" class="summary"> 245 <span class="summary-type"> </span> 246 </td><td class="summary"> 247 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 248 <tr> 249 <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> 250 <td align="right" valign="top"> 251 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__del__">source code</a></span> 252 253 </td> 254 </tr> 255 </table> 256 257 </td> 258 </tr> 259<tr> 260 <td width="15%" align="right" valign="top" class="summary"> 261 <span class="summary-type"> </span> 262 </td><td class="summary"> 263 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 264 <tr> 265 <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> 266 <td align="right" valign="top"> 267 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__nonzero__">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="IsValid"></a><span class="summary-sig-name">IsValid</span>(<span class="summary-sig-arg">self</span>)</span><br /> 282 IsValid(SBCommandInterpreter self) -> bool</td> 283 <td align="right" valign="top"> 284 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.IsValid">source code</a></span> 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="CommandExists"></a><span class="summary-sig-name">CommandExists</span>(<span class="summary-sig-arg">self</span>, 299 <span class="summary-sig-arg">*args</span>)</span><br /> 300 CommandExists(SBCommandInterpreter self, str const * cmd) -> bool</td> 301 <td align="right" valign="top"> 302 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.CommandExists">source code</a></span> 303 304 </td> 305 </tr> 306 </table> 307 308 </td> 309 </tr> 310<tr> 311 <td width="15%" align="right" valign="top" class="summary"> 312 <span class="summary-type"> </span> 313 </td><td class="summary"> 314 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 315 <tr> 316 <td><span class="summary-sig"><a name="AliasExists"></a><span class="summary-sig-name">AliasExists</span>(<span class="summary-sig-arg">self</span>, 317 <span class="summary-sig-arg">*args</span>)</span><br /> 318 AliasExists(SBCommandInterpreter self, str const * cmd) -> bool</td> 319 <td align="right" valign="top"> 320 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.AliasExists">source code</a></span> 321 322 </td> 323 </tr> 324 </table> 325 326 </td> 327 </tr> 328<tr> 329 <td width="15%" align="right" valign="top" class="summary"> 330 <span class="summary-type"> </span> 331 </td><td class="summary"> 332 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 333 <tr> 334 <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 /> 335 GetBroadcaster(SBCommandInterpreter self) -> SBBroadcaster</td> 336 <td align="right" valign="top"> 337 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.GetBroadcaster">source code</a></span> 338 339 </td> 340 </tr> 341 </table> 342 343 </td> 344 </tr> 345<tr> 346 <td width="15%" align="right" valign="top" class="summary"> 347 <span class="summary-type"> </span> 348 </td><td class="summary"> 349 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 350 <tr> 351 <td><span class="summary-sig"><a name="HasCommands"></a><span class="summary-sig-name">HasCommands</span>(<span class="summary-sig-arg">self</span>)</span><br /> 352 HasCommands(SBCommandInterpreter self) -> bool</td> 353 <td align="right" valign="top"> 354 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.HasCommands">source code</a></span> 355 356 </td> 357 </tr> 358 </table> 359 360 </td> 361 </tr> 362<tr> 363 <td width="15%" align="right" valign="top" class="summary"> 364 <span class="summary-type"> </span> 365 </td><td class="summary"> 366 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 367 <tr> 368 <td><span class="summary-sig"><a name="HasAliases"></a><span class="summary-sig-name">HasAliases</span>(<span class="summary-sig-arg">self</span>)</span><br /> 369 HasAliases(SBCommandInterpreter self) -> bool</td> 370 <td align="right" valign="top"> 371 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.HasAliases">source code</a></span> 372 373 </td> 374 </tr> 375 </table> 376 377 </td> 378 </tr> 379<tr> 380 <td width="15%" align="right" valign="top" class="summary"> 381 <span class="summary-type"> </span> 382 </td><td class="summary"> 383 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 384 <tr> 385 <td><span class="summary-sig"><a name="HasAliasOptions"></a><span class="summary-sig-name">HasAliasOptions</span>(<span class="summary-sig-arg">self</span>)</span><br /> 386 HasAliasOptions(SBCommandInterpreter self) -> bool</td> 387 <td align="right" valign="top"> 388 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.HasAliasOptions">source code</a></span> 389 390 </td> 391 </tr> 392 </table> 393 394 </td> 395 </tr> 396<tr> 397 <td width="15%" align="right" valign="top" class="summary"> 398 <span class="summary-type"> </span> 399 </td><td class="summary"> 400 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 401 <tr> 402 <td><span class="summary-sig"><a name="GetProcess"></a><span class="summary-sig-name">GetProcess</span>(<span class="summary-sig-arg">self</span>)</span><br /> 403 GetProcess(SBCommandInterpreter self) -> SBProcess</td> 404 <td align="right" valign="top"> 405 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.GetProcess">source code</a></span> 406 407 </td> 408 </tr> 409 </table> 410 411 </td> 412 </tr> 413<tr> 414 <td width="15%" align="right" valign="top" class="summary"> 415 <span class="summary-type"> </span> 416 </td><td class="summary"> 417 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 418 <tr> 419 <td><span class="summary-sig"><a name="GetDebugger"></a><span class="summary-sig-name">GetDebugger</span>(<span class="summary-sig-arg">self</span>)</span><br /> 420 GetDebugger(SBCommandInterpreter self) -> SBDebugger</td> 421 <td align="right" valign="top"> 422 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.GetDebugger">source code</a></span> 423 424 </td> 425 </tr> 426 </table> 427 428 </td> 429 </tr> 430<tr> 431 <td width="15%" align="right" valign="top" class="summary"> 432 <span class="summary-type"> </span> 433 </td><td class="summary"> 434 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 435 <tr> 436 <td><span class="summary-sig"><a name="SourceInitFileInHomeDirectory"></a><span class="summary-sig-name">SourceInitFileInHomeDirectory</span>(<span class="summary-sig-arg">self</span>, 437 <span class="summary-sig-arg">*args</span>)</span><br /> 438 SourceInitFileInHomeDirectory(SBCommandInterpreter self, 439 SBCommandReturnObject result)</td> 440 <td align="right" valign="top"> 441 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.SourceInitFileInHomeDirectory">source code</a></span> 442 443 </td> 444 </tr> 445 </table> 446 447 </td> 448 </tr> 449<tr> 450 <td width="15%" align="right" valign="top" class="summary"> 451 <span class="summary-type"> </span> 452 </td><td class="summary"> 453 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 454 <tr> 455 <td><span class="summary-sig"><a name="SourceInitFileInCurrentWorkingDirectory"></a><span class="summary-sig-name">SourceInitFileInCurrentWorkingDirectory</span>(<span class="summary-sig-arg">self</span>, 456 <span class="summary-sig-arg">*args</span>)</span><br /> 457 SourceInitFileInCurrentWorkingDirectory(SBCommandInterpreter self, 458 SBCommandReturnObject result)</td> 459 <td align="right" valign="top"> 460 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.SourceInitFileInCurrentWorkingDirectory">source 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"> </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="HandleCommand"></a><span class="summary-sig-name">HandleCommand</span>(<span class="summary-sig-arg">self</span>, 475 <span class="summary-sig-arg">*args</span>)</span><br /> 476 HandleCommand(SBCommandInterpreter self, str const * command_line, 477 SBCommandReturnObject result, bool add_to_history=False) -> 478 lldb::ReturnStatus HandleCommand(SBCommandInterpreter self, str const 479 * command_line, SBCommandReturnObject result) -> 480 lldb::ReturnStatus</td> 481 <td align="right" valign="top"> 482 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.HandleCommand">source code</a></span> 483 484 </td> 485 </tr> 486 </table> 487 488 </td> 489 </tr> 490<tr> 491 <td width="15%" align="right" valign="top" class="summary"> 492 <span class="summary-type"> </span> 493 </td><td class="summary"> 494 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 495 <tr> 496 <td><span class="summary-sig"><a href="lldb.SBCommandInterpreter-class.html#HandleCompletion" class="summary-sig-name">HandleCompletion</a>(<span class="summary-sig-arg">self</span>, 497 <span class="summary-sig-arg">*args</span>)</span><br /> 498 HandleCompletion(SBCommandInterpreter self, str const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, ...</td> 499 <td align="right" valign="top"> 500 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.HandleCompletion">source code</a></span> 501 502 </td> 503 </tr> 504 </table> 505 506 </td> 507 </tr> 508 <tr> 509 <td colspan="2" class="summary"> 510 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 511 <code>__delattr__</code>, 512 <code>__format__</code>, 513 <code>__getattribute__</code>, 514 <code>__hash__</code>, 515 <code>__new__</code>, 516 <code>__reduce__</code>, 517 <code>__reduce_ex__</code>, 518 <code>__sizeof__</code>, 519 <code>__str__</code>, 520 <code>__subclasshook__</code> 521 </p> 522 </td> 523 </tr> 524</table> 525<!-- ==================== STATIC METHODS ==================== --> 526<a name="section-StaticMethods"></a> 527<table class="summary" border="1" cellpadding="3" 528 cellspacing="0" width="100%" bgcolor="white"> 529<tr bgcolor="#70b0f0" class="table-header"> 530 <td colspan="2" class="table-header"> 531 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 532 <tr valign="top"> 533 <td align="left"><span class="table-header">Static Methods</span></td> 534 <td align="right" valign="top" 535 ><span class="options">[<a href="#section-StaticMethods" 536 class="privatelink" onclick="toggle_private();" 537 >hide private</a>]</span></td> 538 </tr> 539 </table> 540 </td> 541</tr> 542<tr> 543 <td width="15%" align="right" valign="top" class="summary"> 544 <span class="summary-type"> </span> 545 </td><td class="summary"> 546 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 547 <tr> 548 <td><span class="summary-sig"><a name="GetArgumentTypeAsCString"></a><span class="summary-sig-name">GetArgumentTypeAsCString</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 549 GetArgumentTypeAsCString(lldb::CommandArgumentType const arg_type) 550 -> str const *</td> 551 <td align="right" valign="top"> 552 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.GetArgumentTypeAsCString">source code</a></span> 553 554 </td> 555 </tr> 556 </table> 557 558 </td> 559 </tr> 560<tr> 561 <td width="15%" align="right" valign="top" class="summary"> 562 <span class="summary-type"> </span> 563 </td><td class="summary"> 564 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 565 <tr> 566 <td><span class="summary-sig"><a name="GetArgumentDescriptionAsCString"></a><span class="summary-sig-name">GetArgumentDescriptionAsCString</span>(<span class="summary-sig-arg">*args</span>)</span><br /> 567 GetArgumentDescriptionAsCString(lldb::CommandArgumentType const 568 arg_type) -> str const *</td> 569 <td align="right" valign="top"> 570 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.GetArgumentDescriptionAsCString">source code</a></span> 571 572 </td> 573 </tr> 574 </table> 575 576 </td> 577 </tr> 578<tr> 579 <td width="15%" align="right" valign="top" class="summary"> 580 <span class="summary-type">str const *</span> 581 </td><td class="summary"> 582 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 583 <tr> 584 <td><span class="summary-sig"><a name="GetBroadcasterClass"></a><span class="summary-sig-name">GetBroadcasterClass</span>()</span></td> 585 <td align="right" valign="top"> 586 <span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.GetBroadcasterClass">source code</a></span> 587 588 </td> 589 </tr> 590 </table> 591 592 </td> 593 </tr> 594</table> 595<!-- ==================== CLASS VARIABLES ==================== --> 596<a name="section-ClassVariables"></a> 597<table class="summary" border="1" cellpadding="3" 598 cellspacing="0" width="100%" bgcolor="white"> 599<tr bgcolor="#70b0f0" class="table-header"> 600 <td colspan="2" class="table-header"> 601 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 602 <tr valign="top"> 603 <td align="left"><span class="table-header">Class Variables</span></td> 604 <td align="right" valign="top" 605 ><span class="options">[<a href="#section-ClassVariables" 606 class="privatelink" onclick="toggle_private();" 607 >hide private</a>]</span></td> 608 </tr> 609 </table> 610 </td> 611</tr> 612<tr> 613 <td width="15%" align="right" valign="top" class="summary"> 614 <span class="summary-type"> </span> 615 </td><td class="summary"> 616 <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> 617 </td> 618 </tr> 619<tr> 620 <td width="15%" align="right" valign="top" class="summary"> 621 <span class="summary-type"> </span> 622 </td><td class="summary"> 623 <a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code> 624 </td> 625 </tr> 626<tr> 627 <td width="15%" align="right" valign="top" class="summary"> 628 <span class="summary-type"> </span> 629 </td><td class="summary"> 630 <a name="eBroadcastBitThreadShouldExit"></a><span class="summary-name">eBroadcastBitThreadShouldExit</span> = <code title="1">1</code> 631 </td> 632 </tr> 633<tr> 634 <td width="15%" align="right" valign="top" class="summary"> 635 <span class="summary-type"> </span> 636 </td><td class="summary"> 637 <a name="eBroadcastBitResetPrompt"></a><span class="summary-name">eBroadcastBitResetPrompt</span> = <code title="2">2</code> 638 </td> 639 </tr> 640<tr> 641 <td width="15%" align="right" valign="top" class="summary"> 642 <span class="summary-type"> </span> 643 </td><td class="summary"> 644 <a name="eBroadcastBitQuitCommandReceived"></a><span class="summary-name">eBroadcastBitQuitCommandReceived</span> = <code title="4">4</code> 645 </td> 646 </tr> 647<tr> 648 <td width="15%" align="right" valign="top" class="summary"> 649 <span class="summary-type"> </span> 650 </td><td class="summary"> 651 <a name="eBroadcastBitAsynchronousOutputData"></a><span class="summary-name">eBroadcastBitAsynchronousOutputData</span> = <code title="8">8</code> 652 </td> 653 </tr> 654<tr> 655 <td width="15%" align="right" valign="top" class="summary"> 656 <span class="summary-type"> </span> 657 </td><td class="summary"> 658 <a name="eBroadcastBitAsynchronousErrorData"></a><span class="summary-name">eBroadcastBitAsynchronousErrorData</span> = <code title="16">16</code> 659 </td> 660 </tr> 661</table> 662<!-- ==================== PROPERTIES ==================== --> 663<a name="section-Properties"></a> 664<table class="summary" border="1" cellpadding="3" 665 cellspacing="0" width="100%" bgcolor="white"> 666<tr bgcolor="#70b0f0" class="table-header"> 667 <td colspan="2" class="table-header"> 668 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 669 <tr valign="top"> 670 <td align="left"><span class="table-header">Properties</span></td> 671 <td align="right" valign="top" 672 ><span class="options">[<a href="#section-Properties" 673 class="privatelink" onclick="toggle_private();" 674 >hide private</a>]</span></td> 675 </tr> 676 </table> 677 </td> 678</tr> 679 <tr> 680 <td colspan="2" class="summary"> 681 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 682 <code>__class__</code> 683 </p> 684 </td> 685 </tr> 686</table> 687<!-- ==================== METHOD DETAILS ==================== --> 688<a name="section-MethodDetails"></a> 689<table class="details" border="1" cellpadding="3" 690 cellspacing="0" width="100%" bgcolor="white"> 691<tr bgcolor="#70b0f0" class="table-header"> 692 <td colspan="2" class="table-header"> 693 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 694 <tr valign="top"> 695 <td align="left"><span class="table-header">Method Details</span></td> 696 <td align="right" valign="top" 697 ><span class="options">[<a href="#section-MethodDetails" 698 class="privatelink" onclick="toggle_private();" 699 >hide private</a>]</span></td> 700 </tr> 701 </table> 702 </td> 703</tr> 704</table> 705<a name="__setattr__"></a> 706<div> 707<table class="details" border="1" cellpadding="3" 708 cellspacing="0" width="100%" bgcolor="white"> 709<tr><td> 710 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 711 <tr valign="top"><td> 712 <h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>, 713 <span class="sig-arg">name</span>, 714 <span class="sig-arg">value</span>)</span> 715 </h3> 716 </td><td align="right" valign="top" 717 ><span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__setattr__">source code</a></span> 718 </td> 719 </tr></table> 720 721 <p>x.__setattr__('name', value) <==> x.name = value</p> 722 <dl class="fields"> 723 <dt>Overrides: 724 object.__setattr__ 725 <dd><em class="note">(inherited documentation)</em></dd> 726 </dt> 727 </dl> 728</td></tr></table> 729</div> 730<a name="__repr__"></a> 731<div> 732<table class="details" border="1" cellpadding="3" 733 cellspacing="0" width="100%" bgcolor="white"> 734<tr><td> 735 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 736 <tr valign="top"><td> 737 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 738 <br /><em class="fname">(Representation operator)</em> 739 </h3> 740 </td><td align="right" valign="top" 741 ><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span> 742 </td> 743 </tr></table> 744 745 <p>repr(x)</p> 746 <dl class="fields"> 747 <dt>Overrides: 748 object.__repr__ 749 <dd><em class="note">(inherited documentation)</em></dd> 750 </dt> 751 </dl> 752</td></tr></table> 753</div> 754<a name="__init__"></a> 755<div> 756<table class="details" border="1" cellpadding="3" 757 cellspacing="0" width="100%" bgcolor="white"> 758<tr><td> 759 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 760 <tr valign="top"><td> 761 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 762 <span class="sig-arg">*args</span>)</span> 763 <br /><em class="fname">(Constructor)</em> 764 </h3> 765 </td><td align="right" valign="top" 766 ><span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.__init__">source code</a></span> 767 </td> 768 </tr></table> 769 770 <p>__init__(lldb::SBCommandInterpreter self, SBCommandInterpreter rhs) 771 -> SBCommandInterpreter</p> 772 <dl class="fields"> 773 <dt>Overrides: 774 object.__init__ 775 </dt> 776 </dl> 777</td></tr></table> 778</div> 779<a name="HandleCompletion"></a> 780<div> 781<table class="details" border="1" cellpadding="3" 782 cellspacing="0" width="100%" bgcolor="white"> 783<tr><td> 784 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 785 <tr valign="top"><td> 786 <h3 class="epydoc"><span class="sig"><span class="sig-name">HandleCompletion</span>(<span class="sig-arg">self</span>, 787 <span class="sig-arg">*args</span>)</span> 788 </h3> 789 </td><td align="right" valign="top" 790 ><span class="codelink"><a href="lldb-pysrc.html#SBCommandInterpreter.HandleCompletion">source code</a></span> 791 </td> 792 </tr></table> 793 794 <pre class="literalblock"> 795 796HandleCompletion(SBCommandInterpreter self, str const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, 797 SBStringList matches) -> int 798 799</pre> 800 <dl class="fields"> 801 </dl> 802</td></tr></table> 803</div> 804<br /> 805<!-- ==================== NAVIGATION BAR ==================== --> 806<table class="navbar" border="0" width="100%" cellpadding="0" 807 bgcolor="#a0c0ff" cellspacing="0"> 808 <tr valign="middle"> 809 810 <!-- Tree link --> 811 <th> <a 812 href="module-tree.html">Trees</a> </th> 813 814 <!-- Index link --> 815 <th> <a 816 href="identifier-index.html">Indices</a> </th> 817 818 <!-- Help link --> 819 <th> <a 820 href="help.html">Help</a> </th> 821 822 <!-- Project homepage --> 823 <th class="navbar" align="right" width="100%"> 824 <table border="0" cellpadding="0" cellspacing="0"> 825 <tr><th class="navbar" align="center" 826 ><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th> 827 </tr></table></th> 828 </tr> 829</table> 830<table border="0" cellpadding="0" cellspacing="0" width="100%%"> 831 <tr> 832 <td align="left" class="footer"> 833 Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:34 2013 834 </td> 835 <td align="right" class="footer"> 836 <a target="mainFrame" href="http://epydoc.sourceforge.net" 837 >http://epydoc.sourceforge.net</a> 838 </td> 839 </tr> 840</table> 841 842<script type="text/javascript"> 843 <!-- 844 // Private objects are initially displayed (because if 845 // javascript is turned off then we want them to be 846 // visible); but by default, we want to hide them. So hide 847 // them unless we have a cookie that says to show them. 848 checkCookie(); 849 // --> 850</script> 851</body> 852</html> 853