471,336 Members | 1,234 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

python debugging...

Hi...

new to python, trying to debug an app....

i have :
>>lib]# cat foo
#!/usr/bin/python2.4 -OO
# -*- coding: ascii -*-
# vim:ts=4:sw=4:softtabstop=0:smarttab
#
import sys
import slstorageserver

slstorageserver.storaged(sys.argv)
==============================================

i do a
>python -m pdb foo <<<
which gets me into the dbg mode

i then do a
>br slstorageserver.storaged <<<
which states that it's setting the break...

my issue now is how to run the app, so that the debugger stops at the
break...

i've looked at various sites, and the docs, etc... it appears that i should
be able to do
>continue <<
and the debugger should stop at the break. it doesn't, it goes to the end..

this whole process is supposed to create a daemon process that's running in
the background...

any thoughts/steps/etc.. would be helpful!!

thanks...
Nov 17 '07 #1
0 812

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Robert Ferrell | last post: by
reply views Thread by Dave | last post: by
20 posts views Thread by Todd7 | last post: by
10 posts views Thread by Andrew Dalke | last post: by
4 posts views Thread by diffuser78 | last post: by
20 posts views Thread by krypto.wizard | last post: by
4 posts views Thread by PatrickMinnesota | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.