Programming Guide > Programming Guide > Debugging Your Application > Debug an Imaged Application with the MonImage Utility
Was this helpful?
Debug an Imaged Application with the MonImage Utility
Although you cannot debug an image file because the source code is not present, you can use the MonImage utility to identify where a problem is occurring in an imaged application. This utility lets you use the Log, Monitor, and DB Session for Application windows when you are running an image file.
Note:  You can also use the equivalent facilities on the Monitor tab. For more information, see How You Can Monitor a Running Application.
To debug an application using MonImage
1. Enter the following at the command line:
w4gldev runimage iidebug.img
The MonitorImage window appears.
2. Enter the image name that you want to run in the Image entry field.
Alternatively, click Image, Select Image to access a standard File Selection dialog from which you can select the image file.
When you enter or select the name of the image that you want to run, the utility automatically fills in the Starting Component and Database fields if you specified those defaults for that image.
3. Click Image, Go to run the image.
If desired, you can change these defaults before running the image. If no defaults were specified, you must provide valid entries before running the image.
The buttons at the bottom of the Monitor Image window display the Log for Application window, the Monitor window, and the DB Session for Application window, respectively. The Log for Application window often can be used to identify the source of a problem or to monitor the performance of your application.
Last modified date: 06/25/2024