• 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
    Raz-Lee Security

    iSecurity Multi Factor Authentication (MFA) helps organizations meet compliance standards and improve the existing security environment on IBM i. It requires a user to verify his identity with two or more credentials.

    Key Features:

    • iSecurity provides Multi Factor Authentication as part of the user’s initial program
    • Works with every Authenticator App available in the Market.

    Contact us at https://www.razlee.com/isecurity-multi-factor-authentication/

    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

  • IBM Tweaks Some Power Systems Prices Down, Others Up
  • Disaster Recovery: From OS/400 V5R3 To IBM i 7.4 In 36 Hours
  • The Disconnect In Modernization Planning And Execution
  • Superior Support: One Of The Reasons You Pay The Power Systems Premium
  • IBM i PTF Guide, Volume 25, Number 13
  • IBM i Has a Future ‘If Kept Up To Date,’ IDC Says
  • When You Need Us, We Are Ready To Do Grunt Work
  • Generative AI: Coming to an ERP Near You
  • Four Hundred Monitor, March 22
  • IBM i PTF Guide, Volume 25, Number 12

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