Re: Debugger - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Debugger
Date
Msg-id 9598.1192798610@sss.pgh.pa.us
Whole thread Raw
In response to Debugger  ("Pedro Belmino" <pedrobelmino@gmail.com>)
List pgsql-hackers
"Pedro Belmino" <pedrobelmino@gmail.com> writes:
> I continue to have problems using the debugger, can not achieve any
> breakpoint that is outside the postmaster.c? Can anyone give me any hint?
> Where do I mark a breakpoint so that I can follow the creation of an index
> to file index.c for example?

Sounds to me like you attached the debugger to the wrong process.
Start a session, find out the backend's PID, then attach to that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: full text search in 8.3
Next
From: Tom Lane
Date:
Subject: Re: max_prepared_transactions default ... why 5?