in reply to Re: Re: Re: Dreaming of a Better Profiler
in thread Dreaming of a Better Profiler

That's very interesting. A quick test against Krang shows that you are correct - it can profile krang_publish but Devel::DProf reliably seg-faults. I'm definitely going to study the code to see if I can figure out why it doesn't have the same problems as Devel::DProf, even though it uses the debugger.

Thanks!

-sam

  • Comment on Re: Re: Re: Re: Dreaming of a Better Profiler

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Dreaming of a Better Profiler
by chip (Curate) on Jun 01, 2004 at 16:04 UTC
    I just contributed some improvements to Devel::Profile that should make it more stable. Now the only bug I know for sure remains is actually in the core, namely, that you can't call an XS function from &DB::sub before you call &$DB::sub, or the target one gets the wrong default package. Yuck.

        -- Chip Salzenberg, Free-Floating Agent of Chaos