I added some simple decryption using Tcllib's aes to my script and now the debugger hangs for 3-4 minutes before finishing. Without loading the package it takes a few seconds.
Is there anything I can do about this? I don't need anything in this package debugged so I want to tell the debugger to ignore it. Maybe an option to not debug certain namespaces would solve this.
I was unable to reproduce any noticeable delays when I tried debugging with this sample example:
http://wiki.tcl.tk/14648
Could you post some code that reproduces this problem?
I extracted all the relevant code from the application but I can't reproduce the delay.
Basically there is an 'if' on whether a file that needs to be read is encrypted or not. If it is obviously aes package is loaded and the decrypt procs run. So when I copy out everything under the 'encrypted' branch to a fresh script the debugger takes only a few seconds.
It doesn't make sense to me how code that is not being run can affect the debugger..
Even code not being run is instrumented for debugging, this happens at the time the file is loaded (sourced actually).
Ok, I'll try to replicate with the full libraries.