Published:
July 24 2009, 08:11 AM
|
no comments
by
Reg Harbeck
I remember in the mid-1980's when I was taking my Computer Science degree and I learned about one of the original debugging tools.
Back then, I was writing "C" which is the opposite of a self-documenting language. If you don't document your code properly, and sometimes even if you do, it can start to look like a foreign language if you come back to it sometime after first writing it. And even when you are writing it, it may stubbornly refuse to do what you want it to, insisting instead on the picky letter of what you actually told it to do.
To make matters worse, there wasn't any tool available to me to step through the code, examine memory, make changes, restart it, and watch how it behaved. My best option was to use a bunch of printf's (the "C" alternative to COBOL DISPLAY or EXEC CICS SEND statements) peppered throughout the code to see where it went and what values the variables managed to get assigned. Which still didn't make infinite loops much more fun.
That's when I learned about the ten-to-twelve-inch circular debugger. It was the best tool in my arsenal for solving intractable bugs. Here's how it worked:
Bug: Try to debug code
If success then exit
If something_else_might_work = true then proceed to next method; go to Bug
If all_possibilities = exhausted then call circular_debugger
Go to Bug /* this normally works; if it doesn't, you'll be here until dawn */
What made this magical tool so special? The toppings, the mozzarella, and the sauce. It was, of course, a pizza, and in my university days, it was my last best resort to finding and fixing bugs when all else failed.
Then, I joined the mainframe world and began programming in CICS COBOL. And I discovered a product now known as CA InterTest. Suddenly, I could eat pizza for leisure again, and I had time for it, too! As many mainframers now know, it made debugging into an efficient, scientific process that made program development and testing a pleasure.
So, of course, I've been a fan of CA InterTest for a long time - both in its CICS and Batch versions.
Well, it turns out that, like the rest of the mainframe, development and testing tools have continued to advance and enhance since I first used them, too. In fact, the graphical Eclipse environment is available for them as well now - along with many other innovations.
What's the problem, then? Nothing: specifically, like so many other aspects of the mainframe, it's too easy to forget just how powerful and useful it is, because it works so well. But since it keeps getting better, and since we have such a great, complete suite of Mainframe Application Quality & Testing Tools, I thought this would be a good opportunity to highlight this important part of CA's full suite of Mainframe 2.0 management software.
For more about our latest innovations in this area, check out http://www.ca.com/us/webcasts/ondemand/item.aspx?e=200449&eis=2.
By: Reg Harbeck
Reg Harbeck is CA's Product Management Director for Mainframe Strategy. In the more than two decades since he received his Bachelor's Degree in Computer Science he has worked with operating systems, networks, security and applications on mainframes, UNIX, Linux, Windows and other platforms. Reg...
Read More..