warning: Could not open OSO archive file

First of all JetBrains: clion looks extremely promising

However, I basically cannot make debugging work on OSX.

I am getting this output from GDB when starting the debugger:

warning: Could not open OSO archive file "/BinaryCache/Libsyscall/Libsyscall-2422.110.17~1/Symbols/BuiltProducts/libsystem_kernel.a"
warning: `/private/var/tmp/Libsyscall/Libsyscall-2422.110.17~1/Libsyscall.build/Libsyscall_dynamic.build/Objects-normal/x86_64/_libc_funcptr.o': can't open to read symbols: No such file or directory.
warning: `/private/var/tmp/Libsyscall/Libsyscall-2422.110.17~1/Libsyscall.build/Libsyscall_dynamic.build/Objects-normal/x86_64/kernel_vers.o': can't open to read symbols: No such file or directory.
warning: `/private/var/tmp/Libsyscall/Libsyscall-2422.110.17~1/Libsyscall.build/Libsyscall_dynamic.build/Objects-normal/x86_64/memcpy.o': can't open to read symbols: No such file or directory.
warning: `/private/var/tmp/Libsyscall/Libsyscall-2422.110.17~1/Libsyscall.build/Libsyscall_dynamic.build/Objects-normal/x86_64/strcmp.o': can't open to read symbols: No such file or directory.
warning: `/private/var/tmp/Libsyscall/Libsyscall-2422.110.17~1/Libsyscall.build/Libsyscall_dynamic.build/Objects-normal/x86_64/strlcpy.o': can't open to read symbols: No such file or directory.
warning: `/private/var/tmp/Libsyscall/Libsyscall-2422.110.17~1/Libsyscall.build/Libsyscall_dynamic.build/Objects-normal/x86_64/strlen.o': can't open to read symbols: No such file or directory.
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libatomics_normal.a"
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libcachecontrol_normal.a"
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libos_normal.a"
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libsetjmp_normal.a"
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libsimple_normal.a"
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libstring_normal.a"
warning: Could not open OSO archive file "/BinaryCache/libplatform/libplatform-24.90.1~2/Symbols/libucontext_normal.a"
warning: `/private/var/tmp/libplatform/libplatform-24.90.1~2/libplatform.build/libsystem_platform.build/Objects-normal/x86_64/init.o': can't open to read symbols: No such file or directory.


.... Where do I configure the location of symbols that clion will look for? Is this a bug or do I need to do something special to make it work?

Basically, the debugger is completely useful without this. It can see the name of my methods, but I can't even inspect local variables.

I am compiling for C++11 with add_definitions(-std=c++11) in my CmakeList.txt

0
4 comments

Additional info: lldb debugging works fine. Full symbols resolution there

0

The issue regarding the warnings is here, but it is not related to your problem with the local variables. Could you please provide an example code snippet so I could try to reproduce?

0

I can SEE the variable names, but I cannot get their values.

Unfortuantely, this is on a rather large code base, so a repro is not easy to make. Are there any logs I can send you that will help troubleshoot the issue?

0

OK, let's try. Please navigate to the "Help -> Configure Debug Log Settings" and paste the following into the text area:

<category name="#com.jetbrains.cidr.execution.debugger"> <priority value="DEBUG"/> <appender-ref ref="FILE"/> </category>


After that reproduce the issue and then navigate to the log file using "Help -> Show Log in Finder" menu.

Don't forget to remove the debug settings to avoid excessive logging.

0

Please sign in to leave a comment.