By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,846 Members | 1,836 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,846 IT Pros & Developers. It's quick & easy.

python debugging...

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.