SBLanguageRuntimeΒΆ

class lldb.SBLanguageRuntimeΒΆ

Utility functions for LanguageType

Methods Summary

GetCatchKeywordForLanguage(language)

Returns the keyword used for catch statements in the given language, e.g. Python uses except.

GetLanguageTypeFromString(char const * string)

GetNameForLanguageType(lldb)

GetThrowKeywordForLanguage(language)

Returns the keyword used for throw statements in the given language, e.g. Python uses raise.

LanguageIsCFamily(language)

Returns whether the given language is any version of C, C++ or Obj-C.

LanguageIsCPlusPlus(language)

Returns whether the given language is any version of C++.

LanguageIsObjC(language)

Returns whether the given language is Obj-C or Obj-C++.

SupportsExceptionBreakpointsOnCatch(language)

Returns whether the given language supports exception breakpoints on catch statements.

SupportsExceptionBreakpointsOnThrow(language)

Returns whether the given language supports exception breakpoints on throw statements.

Methods Documentation

static GetCatchKeywordForLanguage(language)ΒΆ

Returns the keyword used for catch statements in the given language, e.g. Python uses except. Returns nullptr if the language is not supported.

static GetLanguageTypeFromString(char const * string) lldb::LanguageTypeΒΆ
static GetNameForLanguageType(lldb: :LanguageType language) char const *ΒΆ
static GetThrowKeywordForLanguage(language)ΒΆ

Returns the keyword used for throw statements in the given language, e.g. Python uses raise. Returns nullptr if the language is not supported.

static LanguageIsCFamily(language)ΒΆ

Returns whether the given language is any version of C, C++ or Obj-C.

static LanguageIsCPlusPlus(language)ΒΆ

Returns whether the given language is any version of C++.

static LanguageIsObjC(language)ΒΆ

Returns whether the given language is Obj-C or Obj-C++.

static SupportsExceptionBreakpointsOnCatch(language)ΒΆ

Returns whether the given language supports exception breakpoints on catch statements.

static SupportsExceptionBreakpointsOnThrow(language)ΒΆ

Returns whether the given language supports exception breakpoints on throw statements.