mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 18:41:57 +00:00
strace
parent
0d70eb46a0
commit
8069512751
@ -14,9 +14,14 @@ You can find stderr output in:
|
|||||||
|
|
||||||
### Dump LSP requests/responses
|
### Dump LSP requests/responses
|
||||||
|
|
||||||
Use sysdig on Linux:
|
On Linux:
|
||||||
|
|
||||||
```zsh
|
```zsh
|
||||||
|
# sysdig
|
||||||
sudo sysdig -As999 --unbuffered -p '%evt.type %proc.name %evt.buffer' "proc.exe contains ccls and fd.type=pipe" | egrep -v '^Content|^$'
|
sudo sysdig -As999 --unbuffered -p '%evt.type %proc.name %evt.buffer' "proc.exe contains ccls and fd.type=pipe" | egrep -v '^Content|^$'
|
||||||
|
|
||||||
|
# strace
|
||||||
|
strace -s999 -e read,write -fp $(pgrep -fn ccls)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Stopping at the start to debug early issues
|
### Stopping at the start to debug early issues
|
||||||
|
Loading…
Reference in New Issue
Block a user