Debugging Connections

To make connections easier to debug, follow these steps:

  1. Set environmental variables.

    In OS/2 or Windows, add these lines to your config.sys file and reboot:

    SET ICLUI TRACE=ON
    SET ICLUI TRACETO=OUT
    

  2. Make sure the following options are enabled in the application's build setup:

  3. Build your application.

  4. When you run your compiled application, redirect the output to a file. For example, run myapp.exe as follows on OS/2 and Windows NT:
    myapp >myapp.out 2>&1
    

    Run myapp.exe as follows on Windows 95:

    myapp >myapp.out
    

  5. Browse the output file (myapp.out) to see what connections were run and in what order. The file also lists any exceptions that were thrown.


Related procedures
Generating Code
Changing a Build Setup
Fixing Problems with Your Visually Constructed Application