You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
I can't get pdb to work with Django + app-engine-patch.
When I do this in my code:
import pdb
pdb.set_trace()
I get a stack trace printed to the console with a "BdbQuit" exception,
but the (Pdb) prompt itself is written to the HTML output with the
HTML for the Debug error page immediately following.
No interactive prompt ever comes up.
Am I missing a step?
Jesaja Everling
unread,
Jan 29, 2009, 8:02:42 AM1/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-a...@googlegroups.com
Hi,
I also tried to get debugging to work.
In the comments for this article:
Somebody describes how to define a method with which you can invoke
the debugger in a way that should work with the dev_appserver.
The same method is used in this discussion:
I didn't really test it, but it seemed to work when I tried. (even
without commenting out "sys.meta_path = [hook]" like described in the
discussion).
You may also want to take a look at firepython in conjunction with the
Python logging module, it can also be of great help when you want to
verify how your code behaves in action.
Best Regards,
Jesaja Everling
boson
unread,
Jan 29, 2009, 12:47:00 PM1/29/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
Thanks for the links. Sorry my question wasn't phrased properly, as I
thought pdb already did work with the dev_appserver by itself.
On Jan 29, 5:02 am, Jesaja Everling <jeverl...@gmail.com> wrote:
> Hi,
>
> I also tried to get debugging to work.
> In the comments for this article:
>
>
> Somebody describes how to define a method with which you can invoke
> the debugger in a way that should work with the dev_appserver.
> The same method is used in this discussion:
>
>
> I didn't really test it, but it seemed to work when I tried. (even
> without commenting out "sys.meta_path = [hook]" like described in the
> discussion).
> You may also want to take a look at firepython in conjunction with the
> Python logging module, it can also be of great help when you want to
> verify how your code behaves in action.
>
> Best Regards,
>
> Jesaja Everling
>