Debugging - How to access codes of schemes by using GDB?
Dear Foamers,
Recently I've tried to debug the limiter of OF-2.2. I use GDB as a debugging tool. What I want to do is monitor values in NVDVTVDV.H file, but I cannot reach to this class via GDB since this class is handled by temporary object handler(tmp<...>). After I ran gdb and loaded interFoam, I tried to set a break point in the class as, Code:
I don't know what the pending works in GDB nor how to set a break point in the code. Anyone who solved this? |
Resolved
Never mind.
I solved the problem by setting DEBUG switch on when I compile the source codes. Now I can access the source codes in the library. |
All times are GMT -4. The time now is 16:46. |