CP10980C/EDUC980C - OS/2 Warp System Debug Tools: Diagnosing Hangs

In this four-day workshop, students make extensive use of debug kernel, which is one of the primary OS/2 Warp system-level diagnosis tools.

This workshop contains both lecture and hands-on labs. The student will spend most of the workshop in lab.

Objectives
To learn how to analyze problem documentation to find the cause of an application or system hang under OS/2 Warp. To learn application serialization methods and how the OS/2 dispatcher operates, related to loops and waits.

Audience
Programmers who want to learn how to solve application problems including waits and loops; consultants and support people with programming skills who need to be able to correctly identify which program is at fault when a hang involving products from several different sources occurs; programmers who want to improve their diagnostic skills.

Benefits
The workshop will provide a broad base of understanding how to diagnose application hangs in an OS/2 environment. The instruction includes approaches to solving problems that include waits and loops.

Topics

 * Review of process for diagnosing an application trap.
 * How to serialize execution of several threads to protect shared resources, and pitfalls.
 * How to find which thread owns a semaphore.
 * How the dispatcher defines various priority classes.
 * Analysis of Memory and Kernel Heap ownership.
 * How to install the debug kernel, and how to use it to solve hangs caused by applications or the system.
 * Directed lab exercises.

Prerequisites
A knowledge of how to collect documentation and how to use the dump formatter to solve application traps. These may be acquired by successfully completing the courses "Basic Skills for Low-Level Program Diagnosis", "Diagnosing Traps in Application Programs", and "Diagnosing Traps in Privileged Code".

Course Code

 * CP10980C

Download

 * Not Available