Skip Menu |

This queue is for tickets about the Apache-DB CPAN distribution.

Report information
The Basics
Id: 115270
Status: resolved
Priority: 0/
Queue: Apache-DB

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: DB package is loadded too late
In such configuration: <Perl> BEGIN { use APR::Pool; use Apache::DB ( ); Apache::DB->init; use Boot::App; } </Perl> <Location /> PerlFixupHandler Apache::DB </Location> DB package is loaded too late (from Apache::DB::handler). At this point main application is loaded and initialized by Boot::App and this restrict me from usage of DB::postponed subroutine to spy which modules are used by application
After fix this. Do not forget to set $DB::single = 1 as last statement, in other case you will start debug yourself. Do like: return (($DB::single=1) && 0);
Am Sa 11. Jun 2016, 12:02:34, KES schrieb: Show quoted text
> After fix this. Do not forget to set $DB::single = 1 as last > statement, in other case you will start debug yourself. > > Do like: > return (($DB::single=1) && 0);
Hello, what is Boot::App ?
Boot::App is the module which inits our application
Am Mo 22. Apr 2019, 11:12:30, KES schrieb: Show quoted text
> Boot::App is the module which inits our application >
Thx, i see that you wrote Devel::DebugHooks. are there any issues open which i should fix in the current version of Apache: I don't tested DebugHooks yet but will do this.
As far as I remember there was issue that app did not stop on first line of code. I workaround that as: https://metacpan.org/source/KES/Devel-DebugHooks-0.05/lib/Apache/DB.pm#L77 but that is for my debugger. For standard one there should be something similar. Probably there were other issues, but, as of today, I did not remember, sorry =(
Show quoted text
>something similar
I mean: $DB::single = 1;