Re: [exim-dev] GDB step by step exim

Top Pagina
Delete this message
Reply to this message
Auteur: Graeme Fowler
Datum:  
Aan: exim-dev
Onderwerp: Re: [exim-dev] GDB step by step exim
On 16 Jul 2020, at 05:07, Dennis Roellke via Exim-dev <exim-dev@???> wrote:
> I’d like to understand better how exim processes EHLO messages. Ideally, I could use gdb to set a breakpoint and step through from wherever I want. Unfortunately, exim just ignores any breakpoints... it hits them for sure, bc I see the print stmts. It must have to do with exims threading. I tried detach-on-fork off, but no luck.
>
> Please help: HOW TO DEBUG EXIM?


https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html

See the "-d" section, also "debug_print" in

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_routers.html
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-generic_options_for_transports.html

What is it that you're attempting to understand, specifically? The code is open, of course, so you can step through that if you need to but note that different configurations will process data in different ways according to local preference/necessity.

Graeme

PS you probably want to subscribe to the list before posting again so we don't have to check and release your messages from the moderation queue.