Re: Debugger

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pedro Belmino" <pedrobelmino(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Debugger
Date: 2007-10-19 12:56:50
Message-ID: 9598.1192798610@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pedro Belmino" <pedrobelmino(at)gmail(dot)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

In response to

  • Debugger at 2007-10-19 12:30:13 from Pedro Belmino

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-10-19 13:00:30 Re: max_prepared_transactions default ... why 5?
Previous Message Pedro Belmino 2007-10-19 12:30:13 Debugger