Changes between Version 3 and Version 4 of DebuggingPrograms
- Timestamp:
- 06/16/07 18:03:39 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DebuggingPrograms
v3 v4 1 1 = Debugging programs = 2 2 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).3 To 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). 4 4 5 5 Descent 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?).
