mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-09 14:27:02 +08:00
[docs]Update docs
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
# GDB debug
|
||||
|
||||
Debugging ROS 2 programs with GDB involves several steps:
|
||||
|
||||
## Config debug
|
||||
|
||||
Set `CMAKE_BUILD_TYPE` to `Debug` in ` orbbec_camera/CMakeLists.txt`
|
||||
|
||||
```
|
||||
set(CMAKE_BUILD_TYPE Debug)
|
||||
```
|
||||
|
||||
## Use xterm terminal to open gdb debugging
|
||||
|
||||
Install xterm
|
||||
|
||||
```bash
|
||||
sudo apt install xterm
|
||||
```
|
||||
|
||||
Take gemini_330_series.launch.py as an example to use xterm terminal to open gdb
|
||||
|
||||

|
||||
Reference in New Issue
Block a user