Microsoft had its big announcement day today. The following two items sound good for the prospects of debugging support on Windows:
http://blogs.msdn.com/b/vcblog/archive/2015/04/29/debug-c-code-on-linux-from-visual-studio.aspx
I don’t understand enough about debuggers to really tell whether that will help Julia, but these posts seemed to have all the right buzz words ;)
Cheers,
David
Yes, they renamed a bunch of things a couple of days ago. I'm on it.
julia> versioninfo()
Julia Version 0.4.0-dev+5236
Commit 01abdc3* (2015-06-06 15:02 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin13.4.0)
CPU: Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-svn
My LLVM is from 3rd June. I have checked that the llvm build artefacts in usr/lib have the correct time. Note that my julia build includes #11515
My Make.user is
override LLDB_VER=master
override LLVM_VER=svn
override LLVM_ASSERTIONS=1
override BUILD_LLVM_CLANG=1
override BUILD_LLDB=1
override USE_LLVM_SHLIB=1
override LLDB_DISABLE_PYTHON=1
I have the following changes:
In Julia/src/options.h
Enable FORCE_ELF
In LLVM
comment out EnableARCOptimizations in lib/Transforms/ObjCARC/ObjCARC.cpp
In LLDB
Comment out `if (arch.GetTriple().getVendor() != llvm::Triple::Apple)` in deps/llvm-svn/tools/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
(D6185 has already been applied)
And with that, I can't see Julia in the lldb backtrace. Even worse, I dont see backtraces in Julia either:
julia> sqrt(-1)
ERROR: DomainError:
So clearly I am doing something wrong, but I am at a loss as to how to troubleshoot this.
Regards
-
Avik