10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Debug an Imaged Application with the MonImage UtilityDebug an Imaged Application with the MonImage UtilityAlthough you cannot debug an image file because the source code is notpresent, you can use the MonImage utility to identify where a problem isoccurring 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 moreinformation, see How You Can Monitor a Running Application (see page 459).To debug an application using MonImage1. Enter the following at the command line:w4gldev runimage iidebug.imgThe 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 Selectiondialog from which you can select the image file.When you enter or select the name of the image that you want to run, theutility automatically fills in the Starting Component and Database fields ifyou 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 nodefaults were specified, you must provide valid entries before running theimage.The buttons at the bottom of the Monitor Image window display the Log forApplication window, the Monitor window, and the DB Session for Applicationwindow, respectively. The Log for Application window often can be used toidentify the source of a problem or to monitor the performance of yourapplication.482 <strong>Programming</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!