Topic
  • 5 replies
  • Latest Post - ‏2013-07-29T14:51:23Z by GarlandJoseph
SystemAdmin
SystemAdmin
549 Posts

Pinned topic What is the most suitable debugger?

‏2013-01-12T08:00:19Z |
Hi,

We compile our source code using XLC compiler with 64 bit options on AIX 6.1.

Which debugger is most suitable for visually debugging the source code in a GUI?

GDB does not load symbols if the executable compiled in XLC is for 64 bit.
IDEBUG is not installed by default. We are not able to find a link from where it can be downloaded.
XDBX is known to be old and not maintained.

Thanks,
Yash
Updated on 2013-01-15T12:28:45Z at 2013-01-15T12:28:45Z by SystemAdmin
  • Dwayne_M
    Dwayne_M
    27 Posts

    Re: What is the most suitable debugger?

    ‏2013-01-12T14:47:35Z  
    The IBM Debugger for AIX (idebug) is included as part of the XL C for AIX and XL C/C++ for AIX products. Look for the filesets whose names begin with "ibmdebugger", which will be in the same directory as all of the other compiler filesets. If one installs all of the filesets included with the product, it will also be installed.

    Note that in recent years there is no longer an "idebug" command on AIX, which would start the debugger UI on the AIX system. Now the IBM Debugger for AIX UI is installed on a Windows System which remotely connects to the debugger components installed on the AIX system to debug programs.

    You may also want to explore IBM Rational Developer for Power Systems Software, http://www.ibm.com/software/rational/products/rdp/ , which is a full-featured Eclipse-based IDE which runs on Windows or Linux and connects remotely to your AIX system for editing, debugging, invoking compiles, profiling the performance of your application etc. You can also view a of YouTube videos discussing the product at http://www.youtube.com/playlist?list=PLA9ECA062065557D6

    Dwayne Moore
    IBM Compilers Product Management
  • SystemAdmin
    SystemAdmin
    549 Posts

    Re: What is the most suitable debugger?

    ‏2013-01-12T15:18:05Z  
    I have installed a trial version of XLC. I can see the service installed in unix at /usr/bin/irmtdbgc.

    How do I obtain a trial version of the Windows client?

    Thanks,
    Yash
  • Dwayne_M
    Dwayne_M
    27 Posts

    Re: What is the most suitable debugger?

    ‏2013-01-12T19:25:53Z  
    The trial version of the Windows client is included as part of the trial version of IBM XL C/C++ for AIX, V12.1 which you downloaded.

    After downloading xlcpp.12.1.0.0.aix.eval.tar.Z and uncompressing and untarring it, the file IBMdebugger/windows/idebug.install_7.1.1.zip will contain the Windows UI. Move this file to your Windows system and unzip it. This will create a idebug.install_7.1.1 directory in which you will find an install.exe, which when run, will install the IBM Debugger for AIX Windows UI onto your system.

    You may also want to watch our IBM Debugger for AIX quick start videos at http://ibm.co/X2hirC for info on using the debugger.

    Dwayne Moore
    IBM Compilers Product Management
  • SystemAdmin
    SystemAdmin
    549 Posts

    Re: What is the most suitable debugger?

    ‏2013-01-15T12:28:45Z  
    The client-server debugger works like a charm.
  • GarlandJoseph
    GarlandJoseph
    13 Posts

    Re: What is the most suitable debugger?

    ‏2013-07-29T14:51:23Z  
    The client-server debugger works like a charm.

    Sweet...it is magical!.