2024/11/14/untangling setup calls
Jump to navigation
Jump to search
This is mainly notes to myself, trying to figure out why my code is complaining about there not being any input parameters before it has actually processed them...
First call to Setup():
==== [+] Setup() is being called twice?? ==== Stack (Woozalia\Ferret\Sys\Diag\Data\Stack\cDeck) SimpleRender() (rows: 7): | nArrIndex | sFileSpec | nFileLine | sCallClass | sCallType | sCallFunc | aCallArgs | oCallObj | | 3 | [F] /apps/futils/src/Kiosk/WUIDL.php | 89 | Woozalia\Ferret\Sys\Routing\caKiosk | -> | ShowStack | | 4 | [F] /apps/futils/src/App/WUIDL.php | 22 | Woozalia\Futil\Kiosk\caWUIDL | -> | Setup | | 5 | [F] /apps/futils/src/App.php | 46 | Woozalia\Futil\App\cWUIDL | -> | SetupIface | | 6 | [F] /src/App.php | 49 | Woozalia\Futil\caApp | -> | EmitStartup | | 7 | [F] /apps/futils/run/dba/go.php | 39 | Woozalia\Ferret\caApp | -> | Go | | 8 | [F] /apps/futils/boot/go.php | 42 | Woozalia\Futil\DBA\cBoot | -> | Go | | 9 | [F] /apps/futils/run/dba/go.php | 44 | Woozalia\Futil\boot\caBoot | -> | __construct | ==== [-] Setup() is being called twice?? ====
Second call to Setup:
==== [+] Setup() is being called twice?? ==== Stack (Woozalia\Ferret\Sys\Diag\Data\Stack\cDeck) SimpleRender() (rows: 7): | nArrIndex | sFileSpec | nFileLine | sCallClass | sCallType | sCallFunc | aCallArgs | oCallObj | | 3 | [F] /apps/futils/src/Kiosk/WUIDL.php | 89 | Woozalia\Ferret\Sys\Routing\caKiosk | -> | ShowStack | | 4 | [F] /src/Sys/Routing/Kiosk/Root.php | 72 | Woozalia\Futil\Kiosk\caWUIDL | -> | Setup | | 5 | [F] /src/App/Routed.php | 23 | Woozalia\Ferret\Sys\Routing\Kiosk\caRoot | -> | Go | | 6 | [F] /src/App.php | 75 | Woozalia\Futil\caApp | -> | ReceiveRequest | | 7 | [F] /apps/futils/run/dba/go.php | 39 | Woozalia\Ferret\caApp | -> | Go | | 8 | [F] /apps/futils/boot/go.php | 42 | Woozalia\Futil\DBA\cBoot | -> | Go | | 9 | [F] /apps/futils/run/dba/go.php | 44 | Woozalia\Futil\boot\caBoot | -> | __construct | ==== [-] Setup() is being called twice?? ====
(The two calls are separated by a couple of screenfuls of other diagnostic info I'm not ready to remove yet; I needed to see them next to each other.)