• 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
    ARCAD Software

    New Podcast Dedicated To IBM i DevOps!

    The topic of this IBM i DevOps TechTalk is “Moving to Git.” It features Jeff Tickner, Ray Bernardi, and Alan Ashley as they discuss what is Git and how to best use Git with the IBM i. Listen in for tips on:

    • Key Git Advantages
    • Git Considerations for a successful implementation
    • Working with branches and automated merges
    • Getting started and ARCAD’s Centralized approach

    Listen NOW

    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

  • Unattended IBM i Operations Continue Upward Climb
  • VS Code Is The Full Stack IDE For IBM i
  • Domino Runs on IBM i 7.5, But HCL Still Working on Power10
  • Four Hundred Monitor, March 6
  • IBM i PTF Guide, Volume 25, Number 11
  • You Ought To Be Committed
  • Thoroughly Modern: What You Need to Know About IBM i Security
  • Spring Brings Events To IBM i Community, And More
  • As I See It: AI-AI-O
  • IBM i PTF Guide, Volume 25, Number 10

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 © 2023 IT Jungle