On 03/03/11 13:54, Gary Poster wrote: > Robert or someone: hi. Could you provide some hints or answers to > the following? > > 1) Let's say you want to see what SQL is being generated by Storm in > a test. Is there a better way to do it other than debugger breaks > into Storm guts? > > 2) Let's sat you want to see what SQL is being generated by Storm in > a POST on launchpad.dev. ++oops++ only seemed to record my GETs for > some reason (I'm looking in /var/tmp/lperr/). ++profile++show didn't > help because I was redirected immediately after the POST, as we often > do. Is there a better way to do it other than debugger breaks into > Storm guts or other similar hacks?
I tend to raise an exception at a convenient point, to cause a real OOPS. https://bugs.launchpad.net/launchpad/+bug/641969 covers ++oops++ not working for requests that don't render the template.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

