From: | "Pedro Belmino" <pedrobelmino(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Debugger |
Date: | 2007-10-19 18:10:26 |
Message-ID: | 7d38eccb0710191110u7ed9f458sc0ae9ac34a8bcb8d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Excuse me,
My previous email, I had a problem formatting of my text. So it is not
understandable.
Correcting:
Pinged the following steps in the console:
1. Pinged the command postgres to start.
2. Joined in psql.
3. Typed the following command to get the id of the process:
"SELECT pg_backend_pid();"
4. Tried to attach the id of the process to the debugger and gave the error:
"Unable to open socket file: target process not responding or HotSpot VM not
loaded"
2007/10/19, Pedro Belmino <pedrobelmino(at)gmail(dot)com>:
>
> I am using linux.
> 1. Inicializei the postgres the console by running. / Postgres.
> 2. Joined in psql through console and simulated. / Psql
> 3. Pg_backend_pid swirled SELECT () to get the id of the process;
> 4. In ide tried to use that process to attach the debugger but gives the
> following error message:
> Unable to open file socket: target process not responding HotSpot VM or
> not loaded
>
> Thank,
> 2007/10/19, Gregory Stark <stark(at)enterprisedb(dot)com>:
> >
> >
> > "Pedro Belmino" <pedrobelmino(at)gmail(dot)com> writes:
> >
> > > 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?
> >
> > You have to start up your psql or other client run "SELECT
> > pg_backend_pid();"
> > and attach to that process in the debugger. It sounds like you've
> > connected to
> > the postmaster which doesn't actually do any of the work, it just forks
> > other
> > backends.
> >
> > --
> > Gregory Stark
> > EnterpriseDB http://www.enterprisedb.com
> >
>
>
>
> --
> Pedro Belmino.
> --------------------------------------------------------------------
> # Ciência da Computação - UNIFOR
> # pedrobelmino(at)gmail(dot)com
> --------------------------------------------------------------------
>
--
Pedro Belmino.
--------------------------------------------------------------------
# Ciência da Computação - UNIFOR
# pedrobelmino(at)gmail(dot)com
--------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-10-19 19:37:36 | Re: ts_rewrite aggregate API seems mighty ugly |
Previous Message | Michael Meskes | 2007-10-19 18:03:44 | Re: ECPG crash - upgrade from 8.0.3 to 8.1.10 |