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ΒΆ