SBEnvironment

class lldb.SBEnvironment(*args)

Represents the environment of a certain process.

Example:

for entry in lldb.debugger.GetSelectedTarget().GetEnvironment().GetEntries():
  print(entry)

Methods Summary

Clear(SBEnvironment self)

Get(SBEnvironment self, char const * name)

GetEntries(SBEnvironment self)

GetNameAtIndex(SBEnvironment self, size_t index)

GetNumValues(SBEnvironment self)

GetValueAtIndex(SBEnvironment self, size_t index)

PutEntry(SBEnvironment self, ...)

Set(SBEnvironment self, char const * name, ...)

SetEntries(SBEnvironment self, ...)

Unset(SBEnvironment self, char const * name)

Methods Documentation

Clear(SBEnvironment self)
Get(SBEnvironment self, char const * name) char const *
GetEntries(SBEnvironment self) SBStringList
GetNameAtIndex(SBEnvironment self, size_t index) char const *
GetNumValues(SBEnvironment self) size_t
GetValueAtIndex(SBEnvironment self, size_t index) char const *
PutEntry(SBEnvironment self, char const * name_and_value)
Set(SBEnvironment self, char const * name, char const * value, bool overwrite) bool
SetEntries(SBEnvironment self, SBStringList entries, bool append)
Unset(SBEnvironment self, char const * name) bool