JuliaLang/julia — pull request #2538 by nfoti (2013-03-11 01:20:53+00:00)
Title: RFC: Updated parser to improve debugging experience

The parser creates `line-number-filename-node`s for all lines in a julia file rather than just those in functions (see julia-parser.scm). This addresses issue #1636 and is necessary for the Debug.jl package to print source lines while debugging. With this parser update the debugging experience feels like using gdb or pdb.

I am requesting inclusion into julia-0.1 because currently Debug.jl is segfaulting when run on recent commits on the master branch. However, the parser update could be incorporated into master as well and Debug.jl will be fixed eventually.

Any comments are greatly appreciated.

Thanks.