On Sun, May 31, 2009 at 12:18 PM, Joshua ben Jore <[email protected]> wrote:
> I'm trying to load NYTProf in a mod_perl process, post-fork because I
> get segfaults when I try it the normal way. I seem to get this error
> alot. Has anyone succeeded at this or know what I need to focus on to
> fix this? I think I need to use Enbugger to load the debugger at
> runtime too but that's theoretically a-ok. I wrote
> http://github.com/jbenjore/Enbugger/blob/206c76c3ee676df29b34daa8d2fc7a7ed408009d/lib/Enbugger/nytprof.pm
> as a first stab at this.
>

Just published Enbugger-2.006 which Works For Me, in the simple case I
was testing with. It didn't work when I tried it in the bug,
previously segfaulting process.

This works:

  #!perl
  ...
  require Enbugger;
  Enbugger->load_debugger( 'NYTProf' )
  ...

unless you're my co-worker and trying it out in DAS, one of our server
applications.

Josh

--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to