Is there any way to avoid fork() for debugging?

Is there any way to avoid fork() for debugging, like the -X option from
apache?

i’ve tried to set workers to 0 on config… just the master process
alright…
but there’s still a fork…

how you guys use gdb?

Thanks

Fabio Kaminski

daemon off;
master_process off;

Fabio Kaminski wrote:

Is there any way to avoid fork() for debugging, like the -X option from
apache?

i’ve tried to set workers to 0 on config… just the master process
alright… but there’s still a fork…

how you guys use gdb?


Best regards,
Valery K.

“set follow-fork-mode child” on gdb it’s not working :frowning:

indeed set follow-fork-mode child was working… like with this
undeamonized
version that you pointed out…

im sure everybody asks that :slight_smile:

thanks Valery,

Fabio

On Fri, Oct 1, 2010 at 3:13 PM, Valery K.
<[email protected][email protected]

Nice! i can see the flow now! i wish i had more time to do that :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs