python debugging...

bruce bedouglas at earthlink.net
Sat Nov 17 11:25:20 EST 2007


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...





More information about the Python-list mailing list