launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #00897
Re: wadl-$(LPCONFIG).xml and 'make run'
On Sat, 12 Sep 2009 01:08:18 Barry Warsaw wrote:
> I'm not sure if everyone is aware of this, but if you're trying to
>
> debug a story/pagetest, you can put this anywhere in the doctest:
> >>> stop()
>
> This drops you into a pdb prompt, with stdout properly redirected back
> to the console.
>
> But what's really cool about this is that you can then go to another
> shell and type:
>
> % make LPCONFIG=testrunner run
>
> and now you'll be able to hit launchpad.dev with the exact state of
> your page test. This is great if you want to see why a particular
> element that your test expects is missing, or whatever, without having
> to manually reproduce all the state in the test.
>
> There's one small problem though. This sometimes rebuilds wadl-
> testrunner.xml, which causes a spurious diff you have to manually
> revert. I'm wondering if there's an easy way to avoid regenerating
> that file?
>
> -Barry
Hi Barry,
Do we have a debugging tips page on the dev wiki?
This would be a very good example of something to have there :)
Tim
Follow ups
References