pdb module and threaded code

Discussion in 'Python' started by Nir of the Waves, Feb 6, 2004.

  1. 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('mymodule.main()', globals(), locals())
    Nir of the Waves, Feb 6, 2004
    #1
    1. Advertising

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

    Colin W.

    Nir of the Waves wrote:
    > 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('mymodule.main()', globals(), locals())
    >
    >
    >
    >
    >
    Colin J. Williams, Feb 7, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rainstorms21

    PDB and TLB files

    Rainstorms21, Aug 2, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,036
    Jeremy Samuel
    Aug 4, 2004
  2. johdi
    Replies:
    2
    Views:
    450
    Scott Allen
    Jul 8, 2004
  3. GWiz

    Multi-threaded HTTP Module

    GWiz, Oct 16, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    732
    John Timney \( MVP \)
    Oct 16, 2005
  4. Replies:
    0
    Views:
    258
  5. Josef Moellers

    Palm::PDB: How to compose a PDB?

    Josef Moellers, Aug 16, 2007, in forum: Perl Misc
    Replies:
    0
    Views:
    142
    Josef Moellers
    Aug 16, 2007
Loading...

Share This Page