Bundled lldb doesn't show std containers values

已回答

Hi,

I've installed CLion 20018.3.2 (Build 183.4886.39) and I'd like to debug a binary built on High Sierra 10.13.6. I've built the binary with:

$ clang -v

Apple LLVM version 10.0.0 (clang-1000.11.45.5)

Target: x86_64-apple-darwin17.7.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

 

And the binary is linked with libc++.

 

When debugging, I can't  see values of std::map:


 

Unfortunatelly, I can't use osx lldb

$ lldb -v

lldb-1000.11.38.2

  Swift-4.2

Clion complains that version is unknown and it supports version in range 7.8.x - 8.2.x.

 

I've tried to use bundled gdb, it doesn't work either it shows just a variable's type.

 

And I've tried to use gdb 8.2 and after I successfully signed it, CLion start the binary and does nothing. 

 

Any tips welcome ;-)

 

Thanks,

Sasa

0

Hi Sasa! Looks like https://youtrack.jetbrains.com/issue/CPP-14918. Please comment or upvote in order to get updates.

0

请先登录再写评论。