gdb
This commit is contained in:
parent
2ae5ce9f2c
commit
d1eda334f3
11
README.md
11
README.md
|
@ -210,6 +210,17 @@ to see the debug and info sections for streamer and server respectively. General
|
||||||
we are using debug for infrequent debug messages, trace for potentially frequent messages and
|
we are using debug for infrequent debug messages, trace for potentially frequent messages and
|
||||||
info for performance-related logging.
|
info for performance-related logging.
|
||||||
|
|
||||||
|
Attaching to a running process with gdb
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo gdb
|
||||||
|
attach <PID>
|
||||||
|
set logging on
|
||||||
|
thread apply all bt
|
||||||
|
```
|
||||||
|
|
||||||
|
This will dump all the threads stack traces into gdb.txt
|
||||||
|
|
||||||
Benchmarking
|
Benchmarking
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue