Post · 1 min read· p. 238

Debugging using the GDB application

The GDB application can be used for debugging your c++ code

The following training video shows one how to use the debugger named GDB within the OpenFOAM® framework. As a pre-requisite, one has to compile the code with the corresponding compiler flags which enable the usage of a debugger. Note, compiling the code with debugging flags will result in much longer execution time. Tobias recorded this video during the year 2016 and is based on the OpenFOAM® version 4. However, debugging does not depend on the version you are using and is a tool for a more fundamental analysis of your underlying c++ code. The comprehensive video can be an addition to the »Introduction and new Solver« screencast training video series.

Support Tobias Holzmann's work

Debugging with GDB

Standalone Video

▶ Video: https://holzmann-cfd.com/videos/programming/gdb/HolzmannCFD_DevScreencast_GDB_1.mp4

key frames