[lldb-dev] Question about LLDB SBEvent C++ API

2020-03-14 Thread Rui Liu via lldb-dev
Hi LLDB devs, The SBEvent API has GetType() method on it, which returns a uint32_t, however I didn't find any documentation on how to interpret this uint32_t... Is there a enum for it somewhere? There is a GetDescription() API to create a human-readable string, but I'd rather to inspect the event

[lldb-dev] LLDB C++ API causes SIGSEGV

2020-03-08 Thread Rui Liu via lldb-dev
Hi LLDB devs, I'm trying to build a debugger integration that uses LLDB C++ API. Due to lack of documentation, I'm basically using the examples in the python API as a guidance. I had following code, which basically contains one line creating a SBDebugger, but it generates a SIGSEGV fault.. #