On Jan 22, 2007, at 9:12 AM, Joel Gwynn wrote:

Is DEBUG_USER_LOGIC shorthand for something?

No.

You just have to make your own (USER_LOGIC) debugging lines, to try and figure out where you're segfaulting.

The other option is this:
http://search.cpan.org/~pgollucci/mod_perl-2.0.3/docs/devel/debug/ c.pod#Analyzing_Dumped_Core_Files

Which  can preclude you from rapidly addressing the problem.

normally I have from 2-20 debug flags and each one has multiple levels. if there's ever an issue with a piece of code or a segfault, i can figure out what it is in a few requests with everything turned on, then bump up the level on the problematic functions.

If you're using any CPAN modules, chances are they have some debug flags in there that might be able to help. the only time i've segfaulted has been with bad calls to the mp API , dbi drivers that weren't compiled right, and bad cookies in earlier verisons of apreq.

If you have a trivial amount of debug code for your own application though, you can usually track down the cause of most problems in a matter of minutes.

// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Reply via email to