I've found XML::Simple using
XML::SAX::PurePerl to be noticeably slow even without the debugger - particularly when running 'make test'. As
BrowserUK pointed out, the effect you're seeing is likely due to the fact that it is pure Perl and the debugger has
a lot more work to do than if you used a C parser.