You don't have to modify the Makefile at all. If you want to build with debug symbols, do "make -c dbg <target>". You should then be able to run your binary into gdb (or attach to it, etc) in the usual way, set breakpoints, etc.
On Monday, 7 August 2017 12:31:05 UTC-7, AK wrote: > > I would like to debug C++ grpc calls on server side and check what > AuthMetadata is being received. Even though I enabled debug symbol option > in Makefile I can't step into functions or core library. For example, I > want to step through some functions in core/lib/transport/metadata.c. How > to do that ? > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a08f7278-7c12-44a8-9a28-15eb7a3fc4d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.