Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 3 and Version 4 of DebuggingPrograms

Show
Ignore:
Author:
asterite (IP: 200.114.201.53)
Timestamp:
06/16/07 22:03:39 (11 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DebuggingPrograms

    v3 v4  
    11= Debugging programs = 
    22 
    3 To debug programs you will need to [wiki:CompilingPrograms compile them first]. Once you do this, you should see an executable in the project folder (an .exe file, if on Windows). 
     3To debug programs you will need to [wiki:CompilingPrograms compile them first] with symbolic debug information. For this, you need to specify the "-g" switch when compiling. If you followed the instructions found in [wiki:CompilingPrograms Compiling programs], you need to enter '${resource_loc} -g' in the arguments field. Once you do this, you should see an executable in the project folder (an .exe file, if on Windows). 
    44 
    55Descent acts as an interface to a command line debugger, so you will also need one. Currently [http://ddbg.mainia.de/ Ddbg] and [http://sourceware.org/gdb/ Gdb] are supported (see: Will other debuggers be supported?).