"Islam Hegazy" <[EMAIL PROTECTED]> writes:

> I do the same but I use the ddd debugger
> 1) Load the shared library from the SQL
> 2) Open the .c file of my function
> 3) Place the break points
> 4) Execute the sql statement 'Select * from Myfn(...);'
>
> The result is displayed and the debugger doesn't stop at the breakpoints.

Are you sure you're attaching to the right process?

One way to do it is to run select pg_backend_pid() from psql and attach to
that pid.

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to