forked from OSchip/llvm-project
1664 lines
69 KiB
HTML
1664 lines
69 KiB
HTML
<?xml version="1.0" encoding="ascii"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>lldb.SBThread</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
</head>
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<span class="breadcrumbs">
|
|
<a href="lldb-module.html">Package lldb</a> ::
|
|
Class SBThread
|
|
</span>
|
|
</td>
|
|
<td>
|
|
<table cellpadding="0" cellspacing="0">
|
|
<!-- hide/show private -->
|
|
<tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
|
|
onclick="toggle_private();">hide private</a>]</span></td></tr>
|
|
<tr><td align="right"><span class="options"
|
|
>[<a href="frames.html" target="_top">frames</a
|
|
>] | <a href="lldb.SBThread-class.html"
|
|
target="_top">no frames</a>]</span></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
<h1 class="epydoc">Class SBThread</h1><p class="nomargin-top"><span class="codelink"><a href="lldb-pysrc.html#SBThread">source code</a></span></p>
|
|
<center>
|
|
<center> <map id="uml_class_diagram_for_lldb_sbt_3" name="uml_class_diagram_for_lldb_sbt_3">
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__swig_setmethods__" title="lldb.SBThread.__swig_setmethods__" alt="" coords="17,31,219,49"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__swig_getmethods__" title="lldb.SBThread.__swig_getmethods__" alt="" coords="17,49,219,68"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread.frames_access-class.html" title="A helper object that will lazily hand out frames for a thread when supplied an index." alt="" coords="17,68,219,87"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#frame" title="A read only property that returns an object that can be used to access  frames as an array ("frame_12 = lldb.thread.frame[12]")." alt="" coords="17,87,219,105"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#frames" title="A read only property that returns a list() of lldb.SBFrame objects for all  frames in this thread." alt="" coords="17,105,219,124"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#id" title="A read only property that returns the thread ID as an integer." alt="" coords="17,124,219,143"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#idx" title="A read only property that returns the thread index ID as an integer." alt="" coords="17,143,219,161"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#is_stopped" title="A read only property that returns a boolean value that indicates if this  thread is stopped but not exited." alt="" coords="17,161,219,180"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#is_suspended" title="A read only property that returns a boolean value that indicates if this  thread is suspended." alt="" coords="17,180,219,199"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#name" title="A read only property that returns the name of this thread as a string." alt="" coords="17,199,219,217"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#num_frames" title="A read only property that returns the number of stack frames in this thread as an integer." alt="" coords="17,217,219,236"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#process" title="A read only property that returns an lldb object that represents the  process (lldb.SBProcess) that owns this thread." alt="" coords="17,236,219,255"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#queue" title="A read only property that returns the dispatch queue name of this thread as a string." alt="" coords="17,255,219,273"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#return_value" title="A read only property that returns an lldb object that represents the return value from the last stop (lldb.SBValue) if we just stopped due to stepping  out of a function." alt="" coords="17,273,219,292"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#stop_reason" title="A read only property that returns an lldb enumeration value (see  enumerations that start with "lldb.eStopReason") that represents the reason this thread stopped." alt="" coords="17,292,219,311"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__setattr__" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="17,313,219,332"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__getattr__" title="lldb.SBThread.__getattr__" alt="" coords="17,332,219,351"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__repr__" title="repr(x)" alt="" coords="17,351,219,369"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__iter__" title="lldb.SBThread.__iter__" alt="" coords="17,369,219,388"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__len__" title="lldb.SBThread.__len__" alt="" coords="17,388,219,407"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__init__" title="__init__(lldb::SBThread self) -> SBThread __init__(lldb::SBThread self,  SBThread thread) -> SBThread" alt="" coords="17,407,219,425"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__swig_destroy__" title="delete_SBThread(SBThread self)" alt="" coords="17,425,219,444"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__del__" title="lldb.SBThread.__del__" alt="" coords="17,444,219,463"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#EventIsThreadEvent" title="EventIsThreadEvent(SBEvent event) -> bool" alt="" coords="17,463,219,481"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#GetStackFrameFromEvent" title="GetStackFrameFromEvent(SBEvent event) -> SBFrame" alt="" coords="17,481,219,500"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#GetThreadFromEvent" title="GetThreadFromEvent(SBEvent event) -> SBThread" alt="" coords="17,500,219,519"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__nonzero__" title="lldb.SBThread.__nonzero__" alt="" coords="17,519,219,537"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#IsValid" title="IsValid(SBThread self) -> bool" alt="" coords="17,537,219,556"/>
|
|
<area shape="rect" id="node46" href="lldb.SBThread-class.html#__ne__" title="lldb.SBThread.__ne__" alt="" coords="17,575,219,593"/>
|
|
<area shape="rect" id="node1" href="lldb.SBThread-class.html" title="Represents a thread of execution." alt="" coords="5,6,229,599"/>
|
|
</map>
|
|
<img src="uml_class_diagram_for_lldb_sbt_3.gif" alt='' usemap="#uml_class_diagram_for_lldb_sbt_3" ismap="ismap" class="graph-without-title" />
|
|
</center>
|
|
</center>
|
|
<hr />
|
|
<pre class="literalblock">
|
|
|
|
Represents a thread of execution. SBProcess contains SBThread(s).
|
|
|
|
SBThreads can be referred to by their ID, which maps to the system specific thread
|
|
identifier, or by IndexID. The ID may or may not be unique depending on whether the
|
|
system reuses its thread identifiers. The IndexID is a monotonically increasing identifier
|
|
that will always uniquely reference a particular thread, and when that thread goes
|
|
away it will not be reused.
|
|
|
|
SBThread supports frame iteration. For example (from test/python_api/
|
|
lldbutil/iter/TestLLDBIterator.py),
|
|
|
|
from lldbutil import print_stacktrace
|
|
stopped_due_to_breakpoint = False
|
|
for thread in process:
|
|
if self.TraceOn():
|
|
print_stacktrace(thread)
|
|
ID = thread.GetThreadID()
|
|
if thread.GetStopReason() == lldb.eStopReasonBreakpoint:
|
|
stopped_due_to_breakpoint = True
|
|
for frame in thread:
|
|
self.assertTrue(frame.GetThread().GetThreadID() == ID)
|
|
if self.TraceOn():
|
|
print frame
|
|
|
|
self.assertTrue(stopped_due_to_breakpoint)
|
|
|
|
See also SBProcess and SBFrame.
|
|
|
|
</pre>
|
|
|
|
<!-- ==================== NESTED CLASSES ==================== -->
|
|
<a name="section-NestedClasses"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Nested Classes</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-NestedClasses"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread.frames_access-class.html" class="summary-name">frames_access</a><br />
|
|
A helper object that will lazily hand out frames for a thread when
|
|
supplied an index.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
<a name="section-InstanceMethods"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Instance Methods</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-InstanceMethods"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#__setattr__" class="summary-sig-name">__setattr__</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">name</span>,
|
|
<span class="summary-sig-arg">value</span>)</span><br />
|
|
x.__setattr__('name', value) <==> x.name = value</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__setattr__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__getattr__"></a><span class="summary-sig-name">__getattr__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">name</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__getattr__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
repr(x)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__iter__"></a><span class="summary-sig-name">__iter__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__iter__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__len__"></a><span class="summary-sig-name">__len__</span>(<span class="summary-sig-arg">self</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__len__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
__init__(lldb::SBThread self) -> SBThread __init__(lldb::SBThread
|
|
self, SBThread thread) -> SBThread</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__init__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<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 />
|
|
delete_SBThread(SBThread self)</td>
|
|
<td align="right" valign="top">
|
|
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<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>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__del__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<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>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__nonzero__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<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 />
|
|
IsValid(SBThread self) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.IsValid">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<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 />
|
|
Clear(SBThread self)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.Clear">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetStopReason"></a><span class="summary-sig-name">GetStopReason</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetStopReason(SBThread self) -> lldb::StopReason</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopReason">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#GetStopReasonDataCount" class="summary-sig-name">GetStopReasonDataCount</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetStopReasonDataCount(SBThread self) -> size_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopReasonDataCount">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#GetStopReasonDataAtIndex" class="summary-sig-name">GetStopReasonDataAtIndex</a>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetStopReasonDataAtIndex(SBThread self, uint32_t idx) -> uint64_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopReasonDataAtIndex">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetStopDescription"></a><span class="summary-sig-name">GetStopDescription</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
Pass only an (int)length and expect to get a Python string describing
|
|
the stop reason.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopDescription">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetStopReturnValue"></a><span class="summary-sig-name">GetStopReturnValue</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetStopReturnValue(SBThread self) -> SBValue</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopReturnValue">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetThreadID"></a><span class="summary-sig-name">GetThreadID</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetThreadID(SBThread self) -> lldb::tid_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetThreadID">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetIndexID"></a><span class="summary-sig-name">GetIndexID</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetIndexID(SBThread self) -> uint32_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetIndexID">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetName"></a><span class="summary-sig-name">GetName</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetName(SBThread self) -> str const *</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetName">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetQueueName"></a><span class="summary-sig-name">GetQueueName</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetQueueName(SBThread self) -> str const *</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetQueueName">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="StepOver"></a><span class="summary-sig-name">StepOver</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
StepOver(SBThread self, lldb::RunMode
|
|
stop_other_threads=eOnlyDuringStepping) StepOver(SBThread self)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.StepOver">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="StepInto"></a><span class="summary-sig-name">StepInto</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
StepInto(SBThread self, lldb::RunMode
|
|
stop_other_threads=eOnlyDuringStepping) StepInto(SBThread self)
|
|
StepInto(SBThread self, str const * target_name, lldb::RunMode
|
|
stop_other_threads=eOnlyDuringStepping) StepInto(SBThread self, str
|
|
const * target_name)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.StepInto">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="StepOut"></a><span class="summary-sig-name">StepOut</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
StepOut(SBThread self)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.StepOut">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="StepOutOfFrame"></a><span class="summary-sig-name">StepOutOfFrame</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
StepOutOfFrame(SBThread self, SBFrame frame)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.StepOutOfFrame">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="StepInstruction"></a><span class="summary-sig-name">StepInstruction</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
StepInstruction(SBThread self, bool step_over)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.StepInstruction">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="StepOverUntil"></a><span class="summary-sig-name">StepOverUntil</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
StepOverUntil(SBThread self, SBFrame frame, SBFileSpec file_spec,
|
|
uint32_t line) -> SBError</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.StepOverUntil">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="RunToAddress"></a><span class="summary-sig-name">RunToAddress</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
RunToAddress(SBThread self, lldb::addr_t addr)</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.RunToAddress">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="ReturnFromFrame"></a><span class="summary-sig-name">ReturnFromFrame</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
ReturnFromFrame(SBThread self, SBFrame frame, SBValue return_value)
|
|
-> SBError</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.ReturnFromFrame">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#Suspend" class="summary-sig-name">Suspend</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Suspend(SBThread self) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.Suspend">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="Resume"></a><span class="summary-sig-name">Resume</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
Resume(SBThread self) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.Resume">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="IsSuspended"></a><span class="summary-sig-name">IsSuspended</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
IsSuspended(SBThread self) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.IsSuspended">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="IsStopped"></a><span class="summary-sig-name">IsStopped</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
IsStopped(SBThread self) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.IsStopped">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetNumFrames"></a><span class="summary-sig-name">GetNumFrames</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetNumFrames(SBThread self) -> uint32_t</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetNumFrames">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetFrameAtIndex"></a><span class="summary-sig-name">GetFrameAtIndex</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetFrameAtIndex(SBThread self, uint32_t idx) -> SBFrame</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetFrameAtIndex">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetSelectedFrame"></a><span class="summary-sig-name">GetSelectedFrame</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
GetSelectedFrame(SBThread self) -> SBFrame</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetSelectedFrame">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="SetSelectedFrame"></a><span class="summary-sig-name">SetSelectedFrame</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
SetSelectedFrame(SBThread self, uint32_t frame_idx) -> SBFrame</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.SetSelectedFrame">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<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 />
|
|
GetProcess(SBThread self) -> SBProcess</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetProcess">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetDescription"></a><span class="summary-sig-name">GetDescription</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetDescription(SBThread self, SBStream description) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetDescription">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetStatus"></a><span class="summary-sig-name">GetStatus</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetStatus(SBThread self, SBStream status) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStatus">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="get_frames_access_object"></a><span class="summary-sig-name">get_frames_access_object</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
An accessor function that returns a frames_access() object which
|
|
allows lazy frame access from a lldb.SBThread object.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.get_frames_access_object">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="get_thread_frames"></a><span class="summary-sig-name">get_thread_frames</span>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
An accessor function that returns a list() that contains all frames
|
|
in a lldb.SBThread object.</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.get_thread_frames">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a href="lldb.SBThread-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
|
|
__str__(SBThread self) -> PyObject *</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__str__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__eq__"></a><span class="summary-sig-name">__eq__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">rhs</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__eq__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="__ne__"></a><span class="summary-sig-name">__ne__</span>(<span class="summary-sig-arg">self</span>,
|
|
<span class="summary-sig-arg">rhs</span>)</span></td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.__ne__">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__delattr__</code>,
|
|
<code>__format__</code>,
|
|
<code>__getattribute__</code>,
|
|
<code>__hash__</code>,
|
|
<code>__new__</code>,
|
|
<code>__reduce__</code>,
|
|
<code>__reduce_ex__</code>,
|
|
<code>__sizeof__</code>,
|
|
<code>__subclasshook__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== STATIC METHODS ==================== -->
|
|
<a name="section-StaticMethods"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Static Methods</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-StaticMethods"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="EventIsThreadEvent"></a><span class="summary-sig-name">EventIsThreadEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br />
|
|
EventIsThreadEvent(SBEvent event) -> bool</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.EventIsThreadEvent">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetStackFrameFromEvent"></a><span class="summary-sig-name">GetStackFrameFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetStackFrameFromEvent(SBEvent event) -> SBFrame</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStackFrameFromEvent">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td><span class="summary-sig"><a name="GetThreadFromEvent"></a><span class="summary-sig-name">GetThreadFromEvent</span>(<span class="summary-sig-arg">*args</span>)</span><br />
|
|
GetThreadFromEvent(SBEvent event) -> SBThread</td>
|
|
<td align="right" valign="top">
|
|
<span class="codelink"><a href="lldb-pysrc.html#SBThread.GetThreadFromEvent">source code</a></span>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== CLASS VARIABLES ==================== -->
|
|
<a name="section-ClassVariables"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Class Variables</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-ClassVariables"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<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>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a name="__swig_getmethods__"></a><span class="summary-name">__swig_getmethods__</span> = <code title="{}">{}</code>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== PROPERTIES ==================== -->
|
|
<a name="section-Properties"></a>
|
|
<table class="summary" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Properties</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-Properties"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#frame" class="summary-name">frame</a><br />
|
|
A read only property that returns an object that can be used to
|
|
access frames as an array ("frame_12 =
|
|
lldb.thread.frame[12]").
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#frames" class="summary-name">frames</a><br />
|
|
A read only property that returns a list() of lldb.SBFrame objects
|
|
for all frames in this thread.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#id" class="summary-name">id</a><br />
|
|
A read only property that returns the thread ID as an integer.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#idx" class="summary-name">idx</a><br />
|
|
A read only property that returns the thread index ID as an integer.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#is_stopped" class="summary-name">is_stopped</a><br />
|
|
A read only property that returns a boolean value that indicates if
|
|
this thread is stopped but not exited.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#is_suspended" class="summary-name">is_suspended</a><br />
|
|
A read only property that returns a boolean value that indicates if
|
|
this thread is suspended.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#name" class="summary-name">name</a><br />
|
|
A read only property that returns the name of this thread as a
|
|
string.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#num_frames" class="summary-name">num_frames</a><br />
|
|
A read only property that returns the number of stack frames in this
|
|
thread as an integer.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#process" class="summary-name">process</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
process (lldb.SBProcess) that owns this thread.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#queue" class="summary-name">queue</a><br />
|
|
A read only property that returns the dispatch queue name of this
|
|
thread as a string.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#return_value" class="summary-name">return_value</a><br />
|
|
A read only property that returns an lldb object that represents the
|
|
return value from the last stop (lldb.SBValue) if we just stopped due
|
|
to stepping out of a function.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
<span class="summary-type"> </span>
|
|
</td><td class="summary">
|
|
<a href="lldb.SBThread-class.html#stop_reason" class="summary-name">stop_reason</a><br />
|
|
A read only property that returns an lldb enumeration value (see
|
|
enumerations that start with "lldb.eStopReason") that
|
|
represents the reason this thread stopped.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" class="summary">
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
<code>__class__</code>
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- ==================== METHOD DETAILS ==================== -->
|
|
<a name="section-MethodDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Method Details</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-MethodDetails"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a name="__setattr__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__setattr__</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">name</span>,
|
|
<span class="sig-arg">value</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBThread.__setattr__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>x.__setattr__('name', value) <==> x.name = value</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__setattr__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__repr__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span>
|
|
<br /><em class="fname">(Representation operator)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#_swig_repr">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>repr(x)</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__repr__
|
|
<dd><em class="note">(inherited documentation)</em></dd>
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__init__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">*args</span>)</span>
|
|
<br /><em class="fname">(Constructor)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBThread.__init__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>__init__(lldb::SBThread self) -> SBThread __init__(lldb::SBThread
|
|
self, SBThread thread) -> SBThread</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__init__
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="GetStopReasonDataCount"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">GetStopReasonDataCount</span>(<span class="sig-arg">self</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopReasonDataCount">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>GetStopReasonDataCount(SBThread self) -> size_t</p>
|
|
<p>Get the number of words associated with the stop reason. See also
|
|
GetStopReasonDataAtIndex().</p>
|
|
<dl class="fields">
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="GetStopReasonDataAtIndex"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">GetStopReasonDataAtIndex</span>(<span class="sig-arg">self</span>,
|
|
<span class="sig-arg">*args</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBThread.GetStopReasonDataAtIndex">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>GetStopReasonDataAtIndex(SBThread self, uint32_t idx) ->
|
|
uint64_t</p>
|
|
<p>Get information associated with a stop reason.</p>
|
|
<p>Breakpoint stop reasons will have data that consists of pairs of
|
|
breakpoint IDs followed by the breakpoint location IDs (they always come
|
|
in pairs).</p>
|
|
<p>Stop Reason Count Data Type ========================
|
|
===== ========================================= eStopReasonNone
|
|
0 eStopReasonTrace 0 eStopReasonBreakpoint N duple:
|
|
{breakpoint id, location id} eStopReasonWatchpoint 1 watchpoint id
|
|
eStopReasonSignal 1 unix signal number eStopReasonException
|
|
N exception data eStopReasonExec 0 eStopReasonPlanComplete
|
|
0</p>
|
|
<dl class="fields">
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="Suspend"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">Suspend</span>(<span class="sig-arg">self</span>)</span>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBThread.Suspend">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>Suspend(SBThread self) -> bool</p>
|
|
<p>LLDB currently supports process centric debugging which means when any
|
|
thread in a process stops, all other threads are stopped. The Suspend()
|
|
call here tells our process to suspend a thread and not let it run when
|
|
the other threads in a process are allowed to run. So when
|
|
SBProcess::Continue() is called, any threads that aren't suspended will
|
|
be allowed to run. If any of the SBThread functions for stepping are
|
|
called (StepOver, StepInto, StepOut, StepInstruction, RunToAddres), the
|
|
thread will now be allowed to run and these funtions will simply
|
|
return.</p>
|
|
<p>Eventually we plan to add support for thread centric debugging where
|
|
each thread is controlled individually and each thread would broadcast
|
|
its state, but we haven't implemented this yet.</p>
|
|
<p>Likewise the SBThread::Resume() call will again allow the thread to
|
|
run when the process is continued.</p>
|
|
<p>Suspend() and Resume() functions are not currently reference counted,
|
|
if anyone has the need for them to be reference counted, please let us
|
|
know.</p>
|
|
<dl class="fields">
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="__str__"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr valign="top"><td>
|
|
<h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
|
|
<br /><em class="fname">(Informal representation operator)</em>
|
|
</h3>
|
|
</td><td align="right" valign="top"
|
|
><span class="codelink"><a href="lldb-pysrc.html#SBThread.__str__">source code</a></span>
|
|
</td>
|
|
</tr></table>
|
|
|
|
<p>__str__(SBThread self) -> PyObject *</p>
|
|
<dl class="fields">
|
|
<dt>Overrides:
|
|
object.__str__
|
|
</dt>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== PROPERTY DETAILS ==================== -->
|
|
<a name="section-PropertyDetails"></a>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
<td colspan="2" class="table-header">
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr valign="top">
|
|
<td align="left"><span class="table-header">Property Details</span></td>
|
|
<td align="right" valign="top"
|
|
><span class="options">[<a href="#section-PropertyDetails"
|
|
class="privatelink" onclick="toggle_private();"
|
|
>hide private</a>]</span></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a name="frame"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">frame</h3>
|
|
<p>A read only property that returns an object that can be used to access
|
|
frames as an array ("frame_12 = lldb.thread.frame[12]").</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#get_frames_access_object" class="summary-sig-name">get_frames_access_object</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- An accessor function that returns a frames_access() object which
|
|
allows lazy frame access from a lldb.SBThread object.
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="frames"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">frames</h3>
|
|
<p>A read only property that returns a list() of lldb.SBFrame objects for
|
|
all frames in this thread.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#get_thread_frames" class="summary-sig-name">get_thread_frames</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- An accessor function that returns a list() that contains all frames
|
|
in a lldb.SBThread object.
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="id"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">id</h3>
|
|
<p>A read only property that returns the thread ID as an integer.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetThreadID" class="summary-sig-name">GetThreadID</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetThreadID(SBThread self) -> lldb::tid_t
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="idx"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">idx</h3>
|
|
<p>A read only property that returns the thread index ID as an integer.
|
|
Thread index ID values start at 1 and increment as threads come and go
|
|
and can be used to uniquely identify threads.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetIndexID" class="summary-sig-name">GetIndexID</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetIndexID(SBThread self) -> uint32_t
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="is_stopped"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">is_stopped</h3>
|
|
<p>A read only property that returns a boolean value that indicates if
|
|
this thread is stopped but not exited.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#IsStopped" class="summary-sig-name">IsStopped</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- IsStopped(SBThread self) -> bool
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="is_suspended"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">is_suspended</h3>
|
|
<p>A read only property that returns a boolean value that indicates if
|
|
this thread is suspended.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#IsSuspended" class="summary-sig-name">IsSuspended</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- IsSuspended(SBThread self) -> bool
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="name"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">name</h3>
|
|
<p>A read only property that returns the name of this thread as a
|
|
string.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetName" class="summary-sig-name">GetName</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetName(SBThread self) -> str const *
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="num_frames"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">num_frames</h3>
|
|
<p>A read only property that returns the number of stack frames in this
|
|
thread as an integer.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetNumFrames" class="summary-sig-name">GetNumFrames</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetNumFrames(SBThread self) -> uint32_t
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="process"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">process</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
process (lldb.SBProcess) that owns this thread.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetProcess" class="summary-sig-name">GetProcess</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetProcess(SBThread self) -> SBProcess
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="queue"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">queue</h3>
|
|
<p>A read only property that returns the dispatch queue name of this
|
|
thread as a string.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetQueueName" class="summary-sig-name">GetQueueName</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetQueueName(SBThread self) -> str const *
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="return_value"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">return_value</h3>
|
|
<p>A read only property that returns an lldb object that represents the
|
|
return value from the last stop (lldb.SBValue) if we just stopped due to
|
|
stepping out of a function.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetStopReturnValue" class="summary-sig-name">GetStopReturnValue</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetStopReturnValue(SBThread self) -> SBValue
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<a name="stop_reason"></a>
|
|
<div>
|
|
<table class="details" border="1" cellpadding="3"
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
<tr><td>
|
|
<h3 class="epydoc">stop_reason</h3>
|
|
<p>A read only property that returns an lldb enumeration value (see
|
|
enumerations that start with "lldb.eStopReason") that
|
|
represents the reason this thread stopped.</p>
|
|
<dl class="fields">
|
|
<dt>Get Method:</dt>
|
|
<dd class="value"><span class="summary-sig"><a href="lldb.SBThread-class.html#GetStopReason" class="summary-sig-name">GetStopReason</a>(<span class="summary-sig-arg">self</span>)</span>
|
|
- GetStopReason(SBThread self) -> lldb::StopReason
|
|
</dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</div>
|
|
<br />
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="middle">
|
|
|
|
<!-- Tree link -->
|
|
<th> <a
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
<!-- Index link -->
|
|
<th> <a
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
<!-- Help link -->
|
|
<th> <a
|
|
href="help.html">Help</a> </th>
|
|
|
|
<!-- Project homepage -->
|
|
<th class="navbar" align="right" width="100%">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><th class="navbar" align="center"
|
|
><a class="navbar" target="_top" href="http://lldb.llvm.org">LLDB python API</a></th>
|
|
</tr></table></th>
|
|
</tr>
|
|
</table>
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
<tr>
|
|
<td align="left" class="footer">
|
|
Generated by Epydoc 3.0.1 on Fri Jul 19 13:22:36 2013
|
|
</td>
|
|
<td align="right" class="footer">
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
>http://epydoc.sourceforge.net</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<script type="text/javascript">
|
|
<!--
|
|
// Private objects are initially displayed (because if
|
|
// javascript is turned off then we want them to be
|
|
// visible); but by default, we want to hide them. So hide
|
|
// them unless we have a cookie that says to show them.
|
|
checkCookie();
|
|
// -->
|
|
</script>
|
|
</body>
|
|
</html>
|