The IDE supplied with your Visual COBOL development product contains a feature-rich debugging engine that will most likely give you the best debugging experience in most scenarios. However, these products also contain a command line debugging engine. The Character Animator served as the main debugging tool in legacy Micro Focus development products, but still exists today, and can be useful if you are required to debug from the command line.
The Character Animator can be used to debug local, native COBOL applications. For a full explanation of the features of Character Animator, see The Character Animator.
If you have set your environment for just-in-time debugging (by setting the debug_on_error tunable), Character Animator is invoked if a running program terminates with a run-time system error; similarly, a program executing a CBL_DEBUG_START command also invokes Character Animator. You can also invoke it manually whenever you run a program, by using the +A COBOL run-time switch; or if you want to invoke it on a per-program basis, run your programs with the anim command.
set COBSW=+A export COBSW
cobrun +A myprog.int
anim myprog.int
The file types available to use with the Character Animator are: .int, .gnt, .so