Tomas Vondra <tomas.von...@enterprisedb.com> writes:
> On 1/3/22 16:54, Stanislav Bashkyrtsev wrote:
>> - If I put a breakpoint before I start the process then everything works 
>> fine
>> - But if I put/remove a breakpoint after it's fully initialized - the 
>> process just stops

> Why do you think postgres quits? AFAIK CLion uses gdb or lldb for 
> debugging, which are the debugger of choice for many (most?) hackers on 
> this list. So that should work fine.

FWIW, it's normal in gdb that if you attach to an existing process,
the process stops until you say "continue".  I know nothing of CLion,
but it likely follows that convention too.

                        regards, tom lane


Reply via email to