• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Bugged by the Interactive Debugger

    October 19, 2005 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.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Raz-Lee Security

    Start your Road to Zero Trust!

    Firewall Network security, controlling Exit Points, Open DB’s and SSH. Rule Wizards and graphical BI.

    Request Demo

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Web Services and SOA Isn’t Just Hype–It’s Real, Magic Says iTera Says Out-of-Synch Conditions are a Thing of the Past

    Leave a Reply Cancel reply

Volume 5, Number 39 -- October 19, 2005
THIS ISSUE
SPONSORED BY:

ProData Computer Svcs
iTera
DRV Technologies

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

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Power Systems Grows Nicely In Q3, Looks To Grow For All 2025, Too
  • Beta Of MCP Server Opens Up IBM i For Agentic AI
  • Sundry IBM i And Power Stack Announcements For Your Consideration
  • Please Take The IBM i Marketplace Survey
  • IBM i PTF Guide, Volume 27, Number 43
  • IBM Pulls The Curtain Back A Smidge On Project Bob
  • IBM Just Killed Merlin. Here’s Why
  • Guru: Playing Sounds From An RPG Program
  • A Bit More Insight Into IBM’s “Spyre” AI Accelerator For Power
  • IBM i PTF Guide, Volume 27, Number 42

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle