[lldb-dev] Fwd: lldb with app using shared lib not working

2015-11-20 Thread Andre Alefeld via lldb-dev
FYI, I found the solution to the problem: DYLD_* env variables are purged from the environment due to SIP in El Capitan. It is necessary to set any DYLD_* variable settings within (lldb) e.g. lldb -f DARWIN_X64/test_app (lldb) target create "DARWIN_X64/test_app" Current executable set to 'DARWIN

[lldb-dev] lldb with app using shared lib not working

2015-11-19 Thread Andre Alefeld via lldb-dev
Hi, if I try to debug an application from the terminal that is using a shared lib lldb complains always about not finding the library even though everything is loading correctly when starting the app directly from the same terminal: echo $DYLD_LIBRARY_PATH/ running with debugger, shared lib can