dbx is a source-level
debugger
A debugger or debugging tool is a computer program used to test and debug other programs (the "target" program). The main use of a debugger is to run the target program under controlled conditions that permit the programmer to track its executi ...
found primarily on
Solaris,
AIX
Aix or AIX may refer to:
Computing
* AIX, a line of IBM computer operating systems
*An Alternate Index, for a Virtual Storage Access Method Key Sequenced Data Set
* Athens Internet Exchange, a European Internet exchange point
Places Belgi ...
,
IRIX,
Tru64 UNIX,
Linux
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
and
BSD operating systems. It provides symbolic debugging for programs written in
C,
C++
C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
,
Fortran,
Pascal and
Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's mos ...
. Useful features include stepping through programs one
source line or
machine instruction
In computer programming, machine code is any low-level programming language, consisting of machine language instructions, which are used to control a computer's central processing unit (CPU). Each instruction causes the CPU to perform a very ...
at a time. In addition to simply viewing operation of the program,
variables can be manipulated and a wide range of expressions can be evaluated and displayed.
History
dbx was originally developed at
University of California, Berkeley
The University of California, Berkeley (UC Berkeley, Berkeley, Cal, or California) is a public land-grant research university in Berkeley, California. Established in 1868 as the University of California, it is the state's first land-grant u ...
, by Mark Linton during the years 1981–1984
and subsequently made its way to various vendors who had licensed BSD.
Availability
Besides being provided to various vendors through BSD, dbx has also found its way into other products:
* dbx is also available on
IBM z/OS
z/OS is a 64-bit operating system for IBM z/Architecture mainframes, introduced by IBM in October 2000. It derives from and is the successor to OS/390, which in turn was preceded by a string of MVS versions.Starting with the earliest:
* ...
systems, in the
UNIX System Services
z/OS UNIX System Services (z/OS UNIX, or informally USS) is a base element of z/OS. z/OS UNIX is a certified UNIX operating system implementation ( XPG4 UNIX 95) optimized for mainframe architecture. It is the first UNIX 95 to not be derived fr ...
component. dbx for z/OS can debug programs written in C and C++, and can also perform machine level debugging. As of z/OS V1R5, dbx is able to debug programs using the
DWARF
Dwarf or dwarves may refer to:
Common uses
*Dwarf (folklore), a being from Germanic mythology and folklore
* Dwarf, a person or animal with dwarfism
Arts, entertainment, and media Fictional entities
* Dwarf (''Dungeons & Dragons''), a humanoid ...
debug format. z/OS V1R6 added support for debugging
64-bit
In computer architecture, 64-bit integers, memory addresses, or other data units are those that are 64 bits wide. Also, 64-bit CPUs and ALUs are those that are based on processor registers, address buses, or data buses of that size. A compu ...
programs.
* dbx is included as part of the
Oracle Solaris Studio
Oracle Developer Studio, formerly named Oracle Solaris Studio, Sun Studio, Sun WorkShop, Forte Developer, and SunPro Compilers, is Oracle Corporation's flagship software development product for the Solaris and Linux operating systems. It inclu ...
product from
Oracle Corporation, and is supported on both Solaris and
Linux
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, w ...
. It supports programs compiled with the Oracle Solaris Studio compilers and
GCC.
See also
*
Modular Debugger
The modular debugger (mdb) is an extensible, low-level debugger developed by Sun Microsystems for the Solaris 7 operating system. It is now open sourced, under the Common Development and Distribution License (CDDL).
Its source code is now availab ...
(mdb)
*
GNU Debugger
The GNU Debugger (GDB) is a portable debugger that runs on many Unix-like systems and works for many programming languages, including Ada, C, C++, Objective-C, Free Pascal, Fortran, Go, and partially others.
History
GDB was first written ...
References
External links
dbx for z/OSSun Studio Compilers and Toolsfor Solaris OS and Linux
*
Sun Studio 12: Debugging a Program With dbx*
Debuggers
Unix programming tools
{{Unix-stub