Skip to content

Commit 28d9ea7

Browse files
authored
Add backward_ros info (#93)
* Add backward_ros info * Fix header line length on backward_ros doc
1 parent bc0c4ea commit 28d9ea7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tutorials/docs/get_backtrace.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Get Backtrace in ROS2 / Nav2
88
- `From a Node`_
99
- `From a Launch File`_
1010
- `From Navigation2 Bringup`_
11+
- `Automatic backtrace on crash`_
1112

1213
Overview
1314
========
@@ -216,3 +217,10 @@ These traces take some time to get used to reading, but in general, start at the
216217
Then you can deduce why it crashed.
217218
When you are done with GDB, type ``quit`` and it will exit the session and kill any processes still up.
218219
It may ask you if you want to kill some threads at the end, say yes.
220+
221+
Automatic backtrace on crash
222+
============================
223+
224+
The `backward-cpp <https://github.com/bombela/backward-cpp>`_ library provides beautiful stack traces, and the `backward_ros <https://github.com/pal-robotics/backward_ros/tree/foxy-devel>`_ wrapper simplifies its integration.
225+
226+
Just add it as a dependency and `find_package` it in your CMakeLists and the backward libraries will be injected in all your executables and libraries.

0 commit comments

Comments
 (0)