The FBI agents want you to explain to them the encryption procedure, showing them partial results. Using the debugging techniques learned so far, you isolate an encryption thread and begin executing it step-by-step, inspecting variables to show the values. Nevertheless, they do not understand it this way. They want you to copy and paste the partial results in a document and then explain to them using what just happened. Do not worry; using the Immediate Window, it is very easy!
Now, we are going to add code to the
Encrypt procedure to show partial results in the Immediate Window as the text is being encoded: