Invoking function with string argument with lldb: how?
I am unable to use lldb to invoke simple, non-templated functions that take string arguments. Is there any way to get lldb to understand the C++ datatype "string", which is a commonly used datatype in C++ programs? The sample source code here just creates a simple class with a few constructors, and then calls them (includes of "iostream" and "string" omitted): using namespace std; struct lldbtest{ int bar=5; lldbtest(){bar=6;} lldbtest(int foo){bar=foo;} lldbtest(string fum){bar=7;} }; int main(){ string name="fum"; lldbtest x,y(3); cout<<x.bar<<y.bar<<endl; return 0; } When compiled on Mac