in reply to Debugging is really slow

How about posting a simple example where this happens? You could also try the simple example using the perl command line debugger and see if it slows down the same way. If perl -d doesn't have the same slowdown, it's probably the ide.

My limited experience with the command line debugger is that it's maybe a little bit slower, but not 10 times slower (an order or magnitude). But, that's just my limited experience.

Replies are listed 'Best First'.
Re^2: Debugging is really slow
by itub (Priest) on Jun 13, 2005 at 14:37 UTC
    I haven't measured with any accuracy, but perl -d feels about 10 times slower to me.
Re^2: Debugging is really slow
by GrandFather (Saint) on Jun 13, 2005 at 20:49 UTC

    Hmm, tricky. I could post some execution times. But I doubt that the exact ratio "debug with a breakpoint set" / "debug without a breakpoint set" actually adds much information.

    What is of interest is that the breakpoint isn't being hit. It's not a conditional breakpoint inside a loop for example. In the immediate case it is a breakpoint set to let me inspect variables after a lot of work has been done (parsing a 1 Mb file with HTML::TreeBuilder).


    Perl is Huffman encoded by design.