Difference between revisions of "GDB"

From Free Pascal wiki
Jump to navigationJump to search
Line 2: Line 2:
 
'''GDB''', abbreviated for '''GNU debugger''' and named ''gdb'' as an executable file, is the standard debugger for the GNU operating system and most other platforms including Linux, BSD, Mac OS X and Windows.  [[Lazarus]] uses GDB as default debugger.
 
'''GDB''', abbreviated for '''GNU debugger''' and named ''gdb'' as an executable file, is the standard debugger for the GNU operating system and most other platforms including Linux, BSD, Mac OS X and Windows.  [[Lazarus]] uses GDB as default debugger.
  
GDB is not a part of Lazarus. Unless you are using Windows or Mac OS X with Xcode, you have to install it yourself before using it. Some versions of Xcode come with bundled GDB. After installation it will be necessary to set the path to gdb (for example ''/usr/bin/gdb'') in [[IDE_Window:_Debugger_Options#General|Lazarus' debugger settings]].
+
GDB is not a part of Lazarus. Unless you are using Windows or certain versions of Mac OS X with Xcode, you have to install it yourself before using it. Some versions of Xcode come with bundled GDB. After installation it will be necessary to set the path to gdb (for example ''/usr/bin/gdb'') in [[IDE_Window:_Debugger_Options#General|Lazarus' debugger settings]].
  
 
* [[GDB on OS X Maverick]]
 
* [[GDB on OS X Maverick]]

Revision as of 08:33, 13 November 2013

archer.jpg

GDB, abbreviated for GNU debugger and named gdb as an executable file, is the standard debugger for the GNU operating system and most other platforms including Linux, BSD, Mac OS X and Windows. Lazarus uses GDB as default debugger.

GDB is not a part of Lazarus. Unless you are using Windows or certain versions of Mac OS X with Xcode, you have to install it yourself before using it. Some versions of Xcode come with bundled GDB. After installation it will be necessary to set the path to gdb (for example /usr/bin/gdb) in Lazarus' debugger settings.

See also

External Links