Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Functions
python.btload Namespace Reference

Classes

class  BTLoad
 

Functions

def btload (limit=100)
 

Function Documentation

◆ btload()

def python.btload.btload (   limit = 100)

Definition at line 13 of file btload.py.

13 def btload (limit = 100):
14  retry = True
15  last_iframe = -1
16  while retry:
17  frame = gdb.newest_frame()
18  iframe = 0
19  retry = False
20  while frame and frame.is_valid() and iframe < limit:
21  if frame.name() is None:
22  lib = findlib (frame.pc())
23  if lib and lib != 'libubsan.so' and lib != 'libasan.so':
24  retry = True
25  break
26  if frame.name() == 'ApplicationMgr::executeRun':
27  break
28  if frame.name() == '_Py_UnixMain':
29  break
30  frame = frame.older()
31  iframe = iframe + 1
32  if iframe <= last_iframe: break
33  last_iframe = iframe
34  return
35 
36 
python.btload.btload
def btload(limit=100)
Definition: btload.py:13