8. Debugging

Debugging Expect is easy. And there is more than one way to do it. Lets go through some real Perl/Expect problem.

Discovering problem with $obj->log_stdout .

Figure 1. Test succeed.

Figure 2. Test failed, but why ?

Lets find solution with $obj->exp_internal