• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • IBM i Debugger Comes to VS Code

    February 15, 2023 Alex Woodie

    At long last, IBM i developers can now debug their code in a development environment other than Rational Developer for IBM i or Merlin. The news came last week, when Liam Allan announced that the ILE debugging feature is now available in Code for IBM i, his third-party, IBM i-centric plug-in for Visual Studio Code.

    “Debugging ILE COBOL and RPGLE inside @code like it’s any other day!” Allan tweeted from his @Notesofbarry Twitter account. “I’m pumped for this release #ibmi.”

    Indeed, this day has been a long time in coming. Allan, who has not been shy about sharing his dislike for RDi, has been pushing IBM to unhook the debugger from RDi for years.

    He started getting vocal about the debugger years ago when he first started developing ILEditor, his first stab at a lightweight alternative to RDi for RPG developers. And he continued his crusade as he put his effort into Code for IBM i, the free VSCode plug-in that he and his partner developed at Halcyon Software.

    Allan’s efforts to free the debugger got a big boost last year when IBM launched Merlin, its own lightweight, browser-based alternative to the heavyweight, Java-based RDi client. Like Code for IBM i, Merlin runs on a VS Code base, and also includes open source tools like Git and Jenkins to manage CI/CD processes, as well as IBM i tooling from ARCAD Software (not to mention the OpenShift container from Red Hat).

    For Liam Allan, it’s just another day debugging RPG and COBOL code outside of RDi.

    IBM created and launched Merlin because it saw the same thing that Allan saw: A desire among the IBM i installed base for an easier-to-use, lighter weight, and more open development environment. These open IDEs were already available for IBM i developers working in open source languages, like PHP, Python, and Node.js. But there was a gap in the IBM lineup when it came to native ILE languages commonly used on IBM i, like RPG and COBOL.

    When it launched Merlin, IBM realized that it would eventually have to unhook the debugger from RDi. The fact that IBM went ahead and pushed Merlin to market without an integrated debugger – which would prevent them from fully testing RPG and COBOL apps for production – shows how motivated it was to get the product into developer’s hands.

    In any case, IBM officials said at last year’s COMMON POWERUp conference that they had already unhooked the debugger from RDi and the IBM Toolbox for Java, where it’s bundled as a JAR file, and had a working copy running in the lab. It was only a matter of testing the newly unhooked debugger with Merlin and ensuring it was ready for prime time, the officials told us.

    And true to the officials’ word, IBM announced the Merlin debugger as part of the fall Technology Refresh for IBM i 7.5, 7.4, and 7.3. You can read more about the IBM i Debugger for Merlin here in the IBM documentation.

    Now it’s Code for IBM i’s turn to integrate the debugger. Last week, Allan announced the availability of IBM i Debug on the Visual Studio Marketplace. The plug-in, which is based on the IBM Debugger, provides a Debug Adapter Protocol (DAP) client and works with either Merlin or Code for IBM i, according to the product description.

    According to IBM i Debug documentation, the debugging service requires the installation of a PTF (a different one depending on if you’re running IBM i 7.3, 7.4, or 7.5). Code for IBM i will walk the user through the setup process for the debug service, if it’s not already running.

    Once the debug service is up and running, the user can work with it through the UI for Code for IBM i. Users can launch a debug session with just the click of a button. According to the documentation, the debugger supports a run mode. Breakpoints can be set prior to debugging, or set during the debugging session.

    Freeing the IBM i debugger from RDi has been a goal of many people in the IBM i community for a long time. And with connections to Merlin and Code for IBM i, there are two places developers can put the newly freed debugger to work.

    RELATED STORIES

    Momentum Builds For Code For IBM i

    How The Latest TRs Bolster App Dev For IBM i

    IBM Looking To Open Up Debugging On IBM i

     

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: COBOL, Code for IBM i, IBM i, IBM i 7.3, IBM i 7.4, IBM i 7.5, ILE COBOL, Merlin, Node.js, PHP, PowerUp, Python, Rational Developer for IBM i, RDi, RPG, RPGLE, Visual Studio Code, VSCode

    Sponsored by
    DRV Tech

    Get More Out of Your IBM i

    With soaring costs, operational data is more critical than ever. IBM shops need faster, easier ways to distribute IBM applications-based data to users more efficiently, no matter where they are.

    The Problem:

    For Users, IBM Data Can Be Difficult to Get To

    IBM Applications generate reports as spooled files, originally designed to be printed. Often those reports are packed together with so much data it makes them difficult to read. Add to that hardcopy is a pain to distribute. User-friendly formats like Excel and PDF are better, offering sorting, searching, and easy portability but getting IBM reports into these formats can be tricky without the right tools.

    The Solution:

    IBM i Reports can easily be converted to easy to read and share formats like Excel and PDF and Delivered by Email

    Converting IBM i, iSeries, and AS400 reports into Excel and PDF is now a lot easier with SpoolFlex software by DRV Tech.  If you or your users are still doing this manually, think how much time is wasted dragging and reformatting to make a report readable. How much time would be saved if they were automatically formatted correctly and delivered to one or multiple recipients.

    SpoolFlex converts spooled files to Excel and PDF, automatically emailing them, and saving copies to network shared folders. SpoolFlex converts complex reports to Excel, removing unwanted headers, splitting large reports out for individual recipients, and delivering to users whether they are at the office or working from home.

    Watch our 2-minute video and see DRV’s powerful SpoolFlex software can solve your file conversion challenges.

    Watch Video

    DRV Tech

    www.drvtech.com

    866.378.3366

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    AIX: The Last Standing Commercial Unix Four Hundred Monitor, February 15

    3 thoughts on “IBM i Debugger Comes to VS Code”

    • Ewart de Souza says:
      February 15, 2023 at 6:02 pm

      Any chance that the Screen Design Aid (SDA) gets included in future ‘Code for IBM i’ versions?

      Reply
    • Paul Houston Harkins says:
      February 15, 2023 at 6:35 pm

      The IBM debugger is the direct descendant of the IBM 601 mechanical calculator of the 1930s, and the IBM 602A mechanical calculator of 1946, which had 12 mechanical steps and 12 mechanical counters and a “single-cycle button”.

      Both IBM calculators were the inspiration for the first electronic computer, the ENIAC in 1946, which also had a single-cycle cord and button.

      Today, computers are literally millions of times faster with millions of program statements (steps) being executed per second, but IBM is still using virtually the same old Debugger and debugging techniques, which are costing IBM customers billions of dollars annually of wasted and productive programmer effort and time.

      IBM must soon replace the IBM Debugger and debugging techniques to survive and succeed in the future.

      Multiply IBM i Programmer Productivity, Capability and Value with streaming video and Automation

      https://youtu.be/Kv0L3e9Wqh4

      Reply
    • Eric Simpson says:
      February 19, 2023 at 1:34 pm

      For a look at the debugger in Merlin, you can check out:

      Reply

    Leave a Reply Cancel reply

TFH Volume: 33 Issue: 10

This Issue Sponsored By

  • Maxava
  • New Generation Software
  • ARCAD Software
  • Computer Keyes
  • Raz-Lee Security

Table of Contents

  • IBM’s Power Systems Battle Plan To Take On 2023
  • Zero-Day Vulnerability in Fortra’s GoAnywhere MFT Being Actively Exploited
  • Getting Ready for IBM i Cloud Migrations
  • Four Hundred Monitor, February 15
  • IBM i Debugger Comes to VS Code

Content archive

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

Recent Posts

  • The Power11 Transistor Count Discrepancies Explained – Sort Of
  • Is Your IBM i HA/DR Actually Tested – Or Just Installed?
  • Big Blue Delivers IBM i Customer Requests In ACS Update
  • New DbToo SDK Hooks RPG And Db2 For i To External Services
  • IBM i PTF Guide, Volume 27, Number 33
  • Tool Aims To Streamline Git Integration For Old School IBM i Devs
  • IBM To Add Full System Replication And FlashCopy To PowerHA
  • Guru: Decoding Base64 ASCII
  • The Price Tweaking Continues For Power Systems
  • IBM i PTF Guide, Volume 27, Numbers 31 And 32

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