Skip to content

Commit

Permalink
Merge pull request JuliaLang#10489 from rened/patch-1
Browse files Browse the repository at this point in the history
Update backtraces.rst
  • Loading branch information
ivarne committed Mar 12, 2015
2 parents 165f1c6 + e4a9e5f commit 217fa8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/devdocs/backtraces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ The procedure is very similar to `Segfaults during bootstrap (sysimg.jl)`_. Cre

$ cd <julia_root>
$ make debug
$ gdb --args usr/bin/julia-debug-readline <path_to_your_script>
$ gdb --args usr/bin/julia-debug <path_to_your_script>

Note that ``gdb`` will sit there, waiting for instructions. Type ``r`` to run the process, and ``bt`` to generate a backtrace once it segfaults::

(gdb) r
Starting program: /home/sabae/src/julia/usr/bin/julia-debug-readline ./test.jl
Starting program: /home/sabae/src/julia/usr/bin/julia-debug ./test.jl
...
(gdb) bt

Expand Down

0 comments on commit 217fa8d

Please sign in to comment.