Re: [Kicad-developers] Debuggers, boost and std::deque

2019-06-11 Thread Jeff Young
I also found a new experimental feature in CLion: Enable natvis renderers for LLDB. Doesn’t seem to help though. I wonder if I need to load natvis files somewhere? > On 11 Jun 2019, at 21:16, Bernhard Stegmaier wrote: > > I wouldn’t try this. > macOS switched to libc++ long time ago. > I don

Re: [Kicad-developers] Debuggers, boost and std::deque

2019-06-11 Thread Bernhard Stegmaier
I wouldn’t try this. macOS switched to libc++ long time ago. I don’t know how it is today but I had a really hard time with unpredictable results/crashes/linking errors back when I started with KiCad and (due to not knowing anything about it) had libraries compiled with libstdc++ and libc++ mixe

Re: [Kicad-developers] Debuggers, boost and std::deque

2019-06-11 Thread Jeff Young
I found this in a CLion blog: This feature works in GCC, and in the case of Clang it works for libstdc++ only. This requires the following setting to be added to CMakeLists.txt: set(CMAKE_CXX_FLAGS “${CMAKE_CXX_FLAGS} -stdlib=libstdc++”) I’m not sure what the alternative to libstdc++ is. Anyone

Re: [Kicad-developers] Debuggers, boost and std::deque

2019-06-11 Thread Seth Hillbrand
On 2019-06-11 13:23, Jeff Young wrote: Do other folks debuggers have a hard time with these? Mine won’t show me the contents of an OPT item, and it consistently lies about the size() of a std::deque. Cheers, Jeff. Hi Jeff- I use this [1] in gdb for STL containers. Also, check out [2] for w

Re: [Kicad-developers] Debuggers, boost and std::deque

2019-06-11 Thread Wayne Stambaugh
Jeff, I wonder if your debugger isn't getting confused by the context switching? I see some pretty strange looking back traces after a context switch in gdb that can make debugging difficult. Wayne On 6/11/19 1:23 PM, Jeff Young wrote: > Do other folks debuggers have a hard time with these? Mi

[Kicad-developers] Debuggers, boost and std::deque

2019-06-11 Thread Jeff Young
Do other folks debuggers have a hard time with these? Mine won’t show me the contents of an OPT item, and it consistently lies about the size() of a std::deque. Cheers, Jeff. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kica