Re: Debugger

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Pedro Belmino" <pedrobelmino(at)gmail(dot)com>
Subject: Re: Debugger
Date: 2007-09-19 19:28:29
Message-ID: 200709192128.29675.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pedro Belmino wrote:
> I am with a problem. When I am using debugger, breakpoints that they
> are inside of main function (stop the execution in the marked point)
> but when breakpoint is marked in another archive (index.c for
> example) breakpoint does not function (the execution in the point
> does not stop), because this happens?

There is a fork() happen between the main function and what you are
probably looking for break at. You need to attach to the session
process after it forks, not to the main postmaster process.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

  • Debugger at 2007-09-19 18:34:32 from Pedro Belmino

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Smet 2007-09-19 20:12:56 Re: like/ilike improvements
Previous Message Jeff Davis 2007-09-19 19:04:58 Re: pg_ctl -w vs unix_socket_directory