Subject: | Can't restore breakpoints for files not yet in scope |
Distribution: Devel-ptkdb-1.1091
Perl: v5.8.1-RC3 built for darwin-thread-multi-2level
OS: Darwin PowerBook.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc
To reproduce, you will need a perl script that includes other modules. Step through the script and work your way into a module. Now set a breakpoint and save the configuration. Confirm that the ptkdb file indeed has the breakpoint. Next, exit and restart the debug session. Note that the breakpoint is not loaded and ready. If you run from this point, you never reach the breakpoint. If, however, you step back into the module that contains the breakpoint, and then reload the ptkdb config, only then is the breakpoint set and ready for use.