there's also a Debug.jl package https://github.com/toivoh/Debug.jl which can sometimes be useful. it's not great, but it makes a change from adding print statements.
On Monday, 8 June 2015 08:56:48 UTC-3, axsk wrote: > > I wonder whether it is possible to debug Julia code using gdb/lldb. > So far I have only used different IDEs debuggers, and thus have no > experience with gdb/lldb. I tried searching for this, but only came across > debuging Julia itself / Julias C-code, but nothing specific to debugging > the Julia code (or I was not able to understand it) > > So my question is, given the code: > > x=1 > print(x) > > Can I debug this using gdb/lldb, inserting a breakpoint after the first > line, then dropping to the REPL and changing x to 2, resuming the program > and getting the updated 2 printed? > > If so, could you please describe along this simple example how to do it :)? >
