Eike, I pulled down the latest qt-creator 3.0.x snapshot and gave it a go on OS X 10.8.5 Mountain Lion. I believe I set up my "Kits" to use LLDB instead of GDB and this small snippet of code:
QVector<int> foo; foo.push_back(1); foo.push_back(3); std::cout << "foo[0]: " << foo[0] << std::endl; does not have the proper values in the variable "foo" in the Variables View. I set a breakpoint on the second line and the variable "foo" says it has zero items. I step past the next few lines and the variable "foo" (according to the debugger view) still has zero items. Yet the std::cout call successfully outputs the proper value. Tried the same under the system gdb and the debugger views showed all the correct values. This is with Xcode 4.6 under OS X 10.8.5 Hope this helps Mike Jackson On Nov 7, 2013, at 3:47 AM, Ziller Eike <[email protected]> wrote: >> Also, is there any workaround to use GDB? Can I compile it from source and >> have qt-creator use that? > > We had very mixed results with custom builds of gdb on Mac. Aside from > setting it up being a bit complicated (signing and stuff), things didn't work > that reliably. > But the above 3.0-pre-rc snapshot should have pretty decent LLDB support. And > if some things do not work for you with the LLDB support in there, it would > be very valuable for us to get bugreports about that :) > > Br, Eike > > -- > Eike Ziller, Senior Software Engineer - Digia, Qt _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
