The steps required for identification and resolution of application errors and "bugs" in the Presentation Manager application environment are basically similar to those required for conventional programming environments. However, the event-driven nature of the Presentation Manager application model often causes unnecessary confusion when developers attempt to test and debug their applications. This chapter describes a simple approach to problem determination and resolution under Presentation Manager, which will help in locating and removing the majority of application problems.
Successful problem determination in the Presentation Manager environment, as in any programming environment, requires some basic ingredients:
When these requirements are satisfied, problem determination may proceed through the following three phases:
The remainder of this chapter describes each of these phases in detail, discussing each step in the resolution process, and also describes the symptoms and likely solutions for some common application problems.