pdb module and threaded code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nir of the Waves

    pdb module and threaded code

    My script uses threads from the threading module



    I try do debug it with the PDB module.

    But the debugger ignores breakpoints to code that is executed by threads

    How can this be worked around

    Did I do something wrong?



    I use:



    Pdb.run('mymodu le.main()', globals(), locals())






  • Colin J. Williams

    #2
    Re: pdb module and threaded code

    You might consider Boa. It seems to have more success with
    multi-threaded programs on Windows XP.

    Colin W.

    Nir of the Waves wrote:[color=blue]
    > My script uses threads from the threading module
    >
    >
    >
    > I try do debug it with the PDB module.
    >
    > But the debugger ignores breakpoints to code that is executed by threads
    >
    > How can this be worked around
    >
    > Did I do something wrong?
    >
    >
    >
    > I use:
    >
    >
    >
    > Pdb.run('mymodu le.main()', globals(), locals())
    >
    >
    >
    >
    >[/color]

    Comment

    Working...