8000 goms/docs/man/Dlv.md at v1.11.0 · gomsx/goms · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Latest commit

 

History

History
39 lines (27 loc) · 460 Bytes

Dlv.md

File metadata and controls

39 lines (27 loc) · 460 Bytes

dlv

# run app, service wait for request
eApi

# send request, with max timeout
grpcurl  -max-time 9999999 -plaintext localhost:50051 service.goms.v1.User/Ping

# print pid
ps aux | grep eApi | awk 'NR==1 { print $2 }'

# attach app
dlv attach xxx

# list code
l

# breakpoint
b /home/fws/github.com/vuca/goms/eApi/internal/service/ping.go:13

# breakpoint print
bp

# continue
c

# next line
n

# step
s

# step out
so

# local var print
locals msg
0