Re: set breakpoint in another module/file

2009-09-22 Thread millerdev
> I think winpdb ( nothing todo with windows-OS ) can do that and much more. The problem with winpdb (which I played with a long time ago) is that it's much heavier than the built-in pdb--it's a GUI debugger. It requires the beast called wx, which I do not use for web (or GUI) development. I'm do

Re: set breakpoint in another module/file

2009-09-22 Thread Stef Mientki
Daniel wrote: Is there a way with pdb to set a breakpoint in another module directly using a command similar to set_trace() ? For example, I'd like to do something like this in my source code: import pdb pdb.setbreak(42, "/path/to/universe.py", "name == 'hitchhiker'") I think winpdb ( nothi

set breakpoint in another module/file

2009-09-22 Thread Daniel
Is there a way with pdb to set a breakpoint in another module directly using a command similar to set_trace() ? For example, I'd like to do something like this in my source code: import pdb pdb.setbreak(42, "/path/to/universe.py", "name == 'hitchhiker'") Is there a way to do (something like) that