7 messages in com.googlegroups.pylons-discussRe: problem with formbuild
FromSent OnAttachments
Anil27 Oct 2006 09:16 
James Gardner27 Oct 2006 09:54 
Anil27 Oct 2006 11:29 
ToddG27 Oct 2006 11:36 
James Gardner27 Oct 2006 11:39 
Shannon -jj Behrens27 Oct 2006 11:50 
Anil27 Oct 2006 11:54 
Subject:Re: problem with formbuild
From:Shannon -jj Behrens (jjin@public.gmane.org)
Date:10/27/2006 11:50:17 AM
List:com.googlegroups.pylons-discuss

On 10/27/06, ToddG <tdgr@public.gmane.org> wrote:

You mentioned "not executed", but not what happens -- nothing (server hangs)? 500 server error?

I assume you did this but maybe just changing that print statement to

return Response("passed validation")

or whatever? I'm not sure without looking what STDOUT is set to, and where plain old 'print' statements go when called in a controller.

There was also a thread in the past few days about debugging and showing how to insert a breakpoint using pdb that might help (also in docs somewhat).

Use this right at the right spot. You can interact with the debugger in your shell.

import pdb pdb.set_trace()

Best Regards, -jj