MCPcopy
hub / github.com/DerekSelander/LLDB / genExpressionOptions

Function genExpressionOptions

lldb_commands/ds.py:41–55  ·  view source on GitHub ↗
(useSwift=False, ignoreBreakpoints=False, useID=True)

Source from the content-addressed store, hash-verified

39
40
41def genExpressionOptions(useSwift=False, ignoreBreakpoints=False, useID=True):
42 options = lldb.SBExpressionOptions()
43 options.SetIgnoreBreakpoints(ignoreBreakpoints);
44 options.SetTrapExceptions(False);
45 options.SetFetchDynamicValue(lldb.eDynamicCanRunTarget);
46 options.SetTimeoutInMicroSeconds (30*1000*1000) # 30 second timeout
47 options.SetTryAllThreads (True)
48 options.SetUnwindOnError(True)
49 options.SetGenerateDebugInfo(True)
50 if useSwift:
51 options.SetLanguage (lldb.eLanguageTypeSwift)
52 else:
53 options.SetLanguage (lldb.eLanguageTypeObjC_plus_plus)
54 options.SetCoerceResultToId(useID)
55 return options
56
57def getTarget(error=None):
58 target = lldb.debugger.GetSelectedTarget()

Callers 8

getIvarsFunction · 0.85
getProtocolsFunction · 0.85
getLINKEDITDataFunction · 0.85
getObjCClassDataFunction · 0.85
getFunctionsFromSectionFunction · 0.85
getLazyPointersFromDataFunction · 0.85
getStringsFromDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…