setting a breakpoint in the module

Simon Forman rogue_pedro at yahoo.com
Wed Aug 23 16:56:52 EDT 2006


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 the line to call
> aFunc(), 'c' to it, then 's' to step in, then set the breakpoint inside
> aFunc() by 'b lineNumber'. It's too cumbersome.
> 
> Thanks.
> Jason

What debugger are you using?




More information about the Python-list mailing list