Advice on debugging protoc plugin

11 views
Skip to first unread message

King Kong

unread,
May 8, 2020, 2:17:08 AM5/8/20
to Protocol Buffers
plugin is launched by protoc, is there any guideline on how to debug it with a debugger? 
Do I have to also build protoc myself?
Thanks.

King Kong

unread,
May 8, 2020, 5:28:05 PM5/8/20
to Protocol Buffers
This is actually a gdb question, I didn't have to build protoc in debug mode.
I just needed to do the following in gdb:
set follow-fork-mode child
Reply all
Reply to author
Forward
0 new messages