Re: Debugger - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Debugger
Date
Msg-id 200709192128.29675.peter_e@gmx.net
Whole thread Raw
In response to Debugger  ("Pedro Belmino" <pedrobelmino@gmail.com>)
Responses Re: Debugger
List 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/


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: curious regression failures
Next
From: "Guillaume Smet"
Date:
Subject: Re: like/ilike improvements