Newsletters   Subscriptions  Forums  Store   Career  Media Kit  About Us  Contact  Search   Home 
fhg
Volume 5, Number 39 -- October 19, 2005

Bugged by the Interactive Debugger


Hey, Brian and Joey:


After having a problem attempting to use the Interactive Source Debugger (ISDB) to debug RPGLE and RPGSQLLE programs, I was so frustrated that I admit I punted. It was the first time I had tried to debug an RPGLE program I had written. When I attempted to start the ISDB debugger (using the STRISDB command), nothing happened. The STRISDB command wouldn't even open the program.

To make matters worse, a co-worker of mine said that ISDB could not be used to debug RPGLE programs and I was left wondering what I was going to do. I managed to fix my problem without the use of the debugger and moved on. How could I have used the debugger to have solved this problem much sooner?

--Dave


It's all in the options, Dave, but not in the options for the debugger. If you take a hard look at the options for compiling an RPGLE program, you will notice a compiling parameter "debugging views." The simple approach for debugging is to change this parameter to '*ALL' and then try the STRISDB command again. It will work.

In short, here's the trick:

To use ISDB to debug LE program, when compiling, make sure that the "debugging views" parameter is set to *SOURCE or *ALL.

To use ISDB to debug SQLLE programs, when compiling, make sure that the "debugging view" parameter is set to *SOURCE.

--Brian and Joey


Editor's Note: Four Hundred Guru would like to welcome Brian Kelly to the ranks of the contributing technical editors of this publication. Kelly retired as a 30-year IBM midrange systems engineer in 1999, having cut his eye teeth in 1969 on the System/3. While with IBM, he was also a Certified Instructor and a Mid-Atlantic Area Designated Specialist. When IBM began to move its sales and support to Business Partners, he formed Kelly Consulting in 1992 as an IT education and consulting firm. On this tip, Kelly got a little help from a local colleague up in Scranton, Penn.: Joey Maniskas, who is a programmer/analyst for book publisher WW Norton & Company. He says she is sharp as a tack, and we hope to hear more from her, too.

Sponsored By
ITERA

Researching High Availability Solutions?

View the contents of this valuable iSeries high availability resource portal that includes HA white papers, archived webinars, case studies and more.

Learn essential information about iSeries high availability before you implement this powerful business-continuity technology.

Click here for instant access.


Technical Editors: Howard Arner, Joe Hertvik, Ted Holt,
Shannon O'Donnell, Kevin Vandever
Contributing Technical Editors: Joel Cochran, Wayne O. Evans, Raymond Everhart,
Bruce Guetzkow, Marc Logemann, David Morris
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.


THIS ISSUE
SPONSORED BY:

ProData Computer Svcs
iTera
DRV Technologies


Four Hundred Guru

BACK ISSUES

TABLE OF
CONTENTS
Find the Length of a Character String in CL

Bugged by the Interactive Debugger

Admin Alert: How to Change OS/400 Command Default Parameters


The Four Hundred
The "P" Word

IBM Gives Rebates and Trade Ins to Push the i5 520 in Q4

Why i for the Casino Industry?

Stop Arguing About Cars and Start Managing Fleets

Four Hundred Stuff
SEA and RevSoft End Partnership for OS/400 Utilities

BCD Aims to Streamline Report Writing with Clover

Tango/04 Looks for Database Changes with New Tool

Web Services and SOA Isn't Just Hype--It's Real, Magic Says

Four Hundred Monitor


Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc. (formerly Midrange Server), 50 Park Terrace East, Suite 8F, New York, NY 10034
Privacy Statement