Skip to content

Commit

Permalink
Merge pull request #12532 from michele-zaffalon/zaf/debugging
Browse files Browse the repository at this point in the history
removed extra dot
  • Loading branch information
pao committed Aug 10, 2015
2 parents 5505cf8 + 19f4dfd commit 87a956b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/devdocs/debuggingtips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ You might need to delete all the files in ``usr/lib/julia/`` to get this to work

You can debug the ``sys.ji`` phase using::

julia/base$ gdb --args .../usr/bin/julia-debug -C native --build ../usr/lib/julia/sys -J ../usr/lib/julia/sys0.ji sysimg.jl
julia/base$ gdb --args ../usr/bin/julia-debug -C native --build ../usr/lib/julia/sys -J ../usr/lib/julia/sys0.ji sysimg.jl

By default, any errors will cause Julia to exit, even under gdb. To catch an error "in the act", set a breakpoint
in ``jl_error`` (there are several other useful spots, for specific kinds of failures, including: ``jl_too_few_args``,
Expand Down

0 comments on commit 87a956b

Please sign in to comment.