in reply to Re^2: Debugging a module?
in thread Debugging a module?

In the debugger, you first have to point to the module file with f Module.pm, then you can set breakpoints. (f also takes regexen, so you don't have to be too particular unless there's an ambiguity.)

On the other hand, you should be able to step into the require, though I've not tried it myself. (I have stepped into an eval, which would seem to be more difficult for a debugger to manage.)

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^4: Debugging a module?
by dstar (Scribe) on Apr 06, 2006 at 13:50 UTC
    Aha. I'll try that, and see how it works.