Re: Debugger - Mailing list pgsql-hackers

From Alexey Klyukin
Subject Re: Debugger
Date
Msg-id [email protected]
Whole thread Raw
In response to Debugger  ("Pedro Belmino" <[email protected]>)
List pgsql-hackers
PostgreSQL consists of multiple processes, launched by postmaster, make
sure you are debugging the right one. After connecting to a database
with your favorite client (i.e. psql) you can use ps (if you have a
unix-like system) or a task manager to determine a pid of postgres
process and then attach to that process with a debugger.

Pedro Belmino wrote:
> Hellow,
> 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?
> Thank,
> 
> -- 
> Pedro Belmino.
> --------------------------------------------------------------------
> # Ciência da Computação - UNIFOR
> # [email protected]
> --------------------------------------------------------------------

-- 
Alexey Klyukin                         http://www.commandprompt.com/
The PostgreSQL Company - Command Prompt, Inc.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: max_prepared_transactions default ... why 5?
Next
From: "Magnus Hagander"
Date:
Subject: Re: max_prepared_transactions default ... why 5?