Debugging Applications

Debugging native COBOL programs

You use the Character Animator to watch how your native COBOL code is executing. You can execute your program in one of three modes:

  • Step mode - when you execute your program in Step mode, you manually control the execution of each statement.
  • Go mode - you initially set the speed of execution, then in Go mode, watch as each statement is automatically executed.
  • Zoom mode - in Zoom mode, the entire program is executed without displaying the source until it reaches the end of the program. You can interrupt it, or set a breakpoint where it will stop.

If you are using Development Hub in connection with Visual COBOL for Eclipse, you can debug native programs running on your UNIX or Linux box remotely using the Eclipse IDE installed locally on a Windows or UNIX machine.

Debugging managed COBOL programs

Development Hub does not contain a facility for debugging JVM COBOL applications. You can debug these if you have Visual COBOL for Eclipse installed on a separate machine.

See the Visual COBOL product help for more details on how to set up a remote connection and debug your applications on the remote box.