Diagnosing System Problems


By Tim Bryce


"Without a road map, you might be driving in circles."
- Bryce's Law

INTRODUCTION

Okay, you've run your program debugger repetitively and everything checks out fine. But for some unknown reason, the whole system is inoperable. Both the software and data base design looks fine, but you are going stark-raving mad trying to locate the problem. Have you considered that it might not be a flaw in the design of the software or data base at all? That perhaps the problem resides in the overall system architecture, or possibly its just you?

In many cases, diagnosing a problem is more painful than correcting it. Whereas I have reviewed basic testing principles in the past, here, I want to discuss some tips for diagnosing problems.

THREE TIPS

1. Walk through the system and check the man/machine interfaces.

Years ago, we were contracted by a large manufacturing company in the northeast who was having trouble implementing their new shop-floor control system. The system was state-of-the-art in terms of programming and DBMS technology. But they simply couldn't get it to work no matter what they tried. Frustrated, the company hired us to see if we could find the problem. Instead of studying source code, as the development staff had done, we began by mapping the overall system architecture.

I've described the "PRIDE" Standard System Structure Concept on more than one occasion, but in a nutshell, a system can be drawn as a four-tiered hierarchy representing a product structure. Whereas a product structure consists of four levels representing products, assemblies, subassemblies, and operations, "PRIDE" likewise decomposes the system into:

LEVEL 1 - SYSTEM
LEVEL 2 - SUB-SYSTEM (Business Processes)
LEVEL 3 - PROCEDURES (Administrative and Computer)
LEVEL 4 - OPERATIONAL STEPS (for Administrative Procedures) and PROGRAMS (for Computer Procedures)

This universally applicable approach for defining the system architecture makes a convenient road map for walking through all aspects of the system and validating its integrity. Such hierarchy diagrams can either be produced from IRM Repositories or from some simple graphic tools. In our consulting assignment though, we simply sketched it out using paper and pencil. Basically, we walked through the system, sampled work and looked for man/machine interfaces. Inevitably, we came upon a sub-system whereby the computer displayed errors in the shop-floor requiring attention by the foreman. The foreman was to take the corrective action and respond to the computer. There was only one problem with this: nobody had told the foreman about any of this. We then wrote a simple Administrative Procedure for the foreman who took the necessary actions and the system operated correctly thereafter ("miraculously" as our client said).

This brings up an important point: systems will fail more for the lack of administrative procedures than for well programmed computer procedures. Although the manufacturing company had produced some rather elegant software, they had completely overlooked the man/machine interface. Again, the "PRIDE" Standard System Structure Concept had provided the necessary road map, but because the client didn't appreciate the need for such a top-down blueprinting technique, they had no idea where everything was.

2. Work backwards.

When diagnosing business processes, procedures and programs, there is a natural inclination to go from start to end in diagnosing a problem. Sometimes you can find a hiccup using this approach, other times you cannot. Instead, try working backwards from end to start, from output to input. Again, map the design using a flowchart or some other graphical technique. If processing involves considerable decisions, draw a decision tree or table. Such graphics are invaluable for validating design logic.

3. Have a second pair of eyes look over your work.

As we become imbued in the mechanics of a design, too often the obvious becomes less obvious to us. Here, another set of eyes can readily see a problem we have overlooked. This is particularly beneficial in shops operating in accordance with certain design standards. Uniform design practices makes it easier to spot anomalies than without such standards.

Where the second person comes from is also important. If the person comes from your work group and is familiar with your style of design, he/she may very well be able to spot a problem. Then again, maybe not. Perhaps the problem will be invisible to them as well. In this case, you might want to consult a neutral third person with a fresh perspective on the problem. This can either be a person from within the company or possibly an outside consultant.

CONCLUSION

Graphic aids, such as flowcharts and diagrams, are helpful for diagnosing a problem but also remember to challenge the graphic. Its not uncommon for graphics not to match what is happening in fact. A good IRM Repository is also invaluable for substantiating designs. The design is either properly recorded in the IRM Repository or it is not. Further, such a tool provides the means to study the relationship of information resources (aka "impact analysis") which may reveal unknown components affecting a design.

More importantly, the idea of maintaining a system architecture (as implemented by the "PRIDE" Standard System Structure Concept) provides the needed road map to find your way through a system regardless of its complexity. Many programmers view such charts as frivolous primarily because they are only concerned with their small piece of the puzzle and are unconcerned about the total picture. But for those of you who need to see the total picture, the system architecture is the logical first step for diagnosing problems.

Tim Bryce is the Managing Director of M. Bryce & Associates (MBA) of Palm Harbor, Florida, a management consulting firm specializing in Information Resource Management (IRM). Mr. Bryce has over 30 years of experience in the field.


More Resources

Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 403, exiting

More Personal Technology Information:

Related Articles


3G is Going Away - What it Means for You
Similar to how the ways we listen to music and watch movies have changed, cellular networks are evolving too. In fact, all major wireless providers plan to shutter their 3G cellular networks this year.
Preventing Scams and Fraud this Holiday Season
Scams and fraud are more deceiving these days, reaching you in more ways than ever before. The FTC reported 2.8 million fraud reports from consumers in 2021 alone, with reported fraud losses increasing 70% from 2020 and more than $5.8 million.
New Year, New Tech: Top 5 Upgrades You Need in 2023
2023 is off to a roaring start, and according to a recent YouGov poll, 37% of Americans have set a goal to accomplish this year. Whether you made a resolution or not this year, upgrading your tech can help you be more productive. Here are several ways to refresh and update the tech in your life this year.
AI Robots Invade the Classroom - So What?
The future tapped me quietly on the shoulder the other day and suggested that I take a moment to learn about the writing bots.
Computer Viruses and the Damage They Cause
Owning a computer is a relatively large responsibility, especially when one observes the amount of maintenance and cleaning involved in keeping your computer in as best a condition as possible.
Media Storage Devices - Choosing a Storage Device
Media storage devices are capable of preserving data, images, audio and video files of large sizes in a comparatively small area. The evolution of the media storage devices right from the 64 KB floppy disk with its huge size (5 ? inches) to the present day pen drives having a capacity 80GB has taken place within this decade.
How to Put Video on PSP - 5 Simple Steps
How to put video on PSP is not difficult. Here are 5 simple steps to master and soon your buddies will be calling asking you how to put video on PSP for them.
How to Clean Your LCD Screen
All types of equipment have LCD monitors; that include GPS display panels, laptops, car PCs or carputers, vehicle dash board screens, portable debit card machines, industrial hand held devices etc. All these gadgets require cleaning of display screens because of dirt, dust and fingerprints over a period of time.
Electronics - Is Newer and Faster Best For You
In today's world the continuous development and change in electronics is so fast that once you buy an electronic device often a year and in some cases 6 months down the track it is already out of date.
How You Can Find the Perfect iPod Speakers
So, you have an iPod, but not the speakers. Well, you need to pick up a pair today. The speaker make sharing the music so much easier with your friends.
How to Create PDF Files without Adobe
When dealing with other companies electronically, you will want to keep the integrity of your files. One solution is using a type of file called a PDF file.
Stop All that Noise Today and Enjoy Peace and Quiet
Why would you want to try a pair of Noise Canceling Headphones today and how could it actually help you? Do these questions seem intriguing to you? There were for me, until I went over to the "other side" the quieter side of life, and bought a pair of Noise Canceling headphones.
3 Simple Tips To Make Your Computer Run Faster
First of all, there are two ways to make your computer run faster: hardware and software. Hardware boosting involves upgrading and adding new components to the computer to increase its speed and performance. Typical upgrades include installing more memory, purchasing a better motherboard or getting a better processor.
Types of Headphones - What Does Circumaural Really Mean?
There are a number of ways to categorize headphones, but when most people talk about the different types, they generally mean the different ways of wearing 'phones.
Advancements in Computer Technology
With technology progressing as fast as it is at the present, it is a wonder we do not have a new mass-marketed gadget appearing every few minutes. Personal computers, once predicted to be owned by a mere handful of individuals, are everywhere nowadays.
The iPod Shuffle!
It is the time to mix things up! The unpredictable new iPod is here. Maybe it can read your mind? What will it play next? Can it read your moods? Load it up - put it on. See where it will take you.
Create Your Own Digital Library
The moment you got your first digital camera, your view of the world has totally changed. You always seem to see something beautiful or artistic in your surroundings, worthy of being captured in pixels.
Diagnosing System Problems
Okay, you've run your program debugger repetitively and everything checks out fine. But for some unknown reason, the whole system is inoperable. Both the software and data base design looks fine, but you are going stark-raving mad trying to locate the problem.
How to Buy a Desktop Computer Online
The internet has ushered in a new way for companies and customers to do business. Where it once was considered rare to order a product online, it has now become the norm.
Wireless Headset, Provides you the Freedom of Movement that You Need
Wireless devices are an excellent advancement in technology and electronics that allow us to enjoy the functionality of our various products. They do not need to be plugged into a base unit such as the media player, stereo system, computer or other electronic items.