setting a breakpoint in the module

2006-08-23 Thread Jason Jiang
Hi, I have two modules: a.py and b.py. In a.py, I have a function called aFunc(). I'm calling aFunc() from b.py (of course I import module a first). The question is how to directly set a breakpoint in aFunc(). The way I'm doing now is to set a breakpoint in b.py at the line to call aFunc(), 'c' t

Re: setting a breakpoint in the module

2006-08-23 Thread Simon Forman
Jason Jiang wrote: > Hi, > > I have two modules: a.py and b.py. In a.py, I have a function called > aFunc(). I'm calling aFunc() from b.py (of course I import module a first). > The question is how to directly set a breakpoint in aFunc(). > > The way I'm doing now is to set a breakpoint in b.py at

Re: setting a breakpoint in the module

2006-08-23 Thread Jason Jiang
I'm using Python pdb module pdb.py. "Simon Forman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason Jiang wrote: >> Hi, >> >> I have two modules: a.py and b.py. In a.py, I have a function called >> aFunc(). I'm calling aFunc() from b.py (of course I import module a >> first).

Re: setting a breakpoint in the module

2006-08-23 Thread Simon Forman
Jason Jiang wrote: > "Simon Forman" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Jason Jiang wrote: > >> Hi, > >> > >> I have two modules: a.py and b.py. In a.py, I have a function called > >> aFunc(). I'm calling aFunc() from b.py (of course I import module a > >> first). > >>

Re: setting a breakpoint in the module

2006-08-23 Thread Jason Jiang
Great! It's working now. Thank you so much. Jason "Simon Forman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason Jiang wrote: >> "Simon Forman" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > Jason Jiang wrote: >> >> Hi, >> >> >> >> I have two modules: a.p

Re: setting a breakpoint in the module

2006-08-23 Thread David M. Cooke
"Jason Jiang" <[EMAIL PROTECTED]> writes: > Hi, > > I have two modules: a.py and b.py. In a.py, I have a function called > aFunc(). I'm calling aFunc() from b.py (of course I import module a first). > The question is how to directly set a breakpoint in aFunc(). > > The way I'm doing now is to set

Re: setting a breakpoint in the module

2006-08-23 Thread Simon Forman
Jason Jiang wrote: > Great! It's working now. Thank you so much. > > Jason You're welcome, it's a pleasure! :-D ~Simon -- http://mail.python.org/mailman/listinfo/python-list