Yes, just compile with the -ggdb3 flag to include debug info in the program, and you can print variables, etc by name, examine the source code for a given function, etc.
Type: Posts; User: anduril462
Yes, just compile with the -ggdb3 flag to include debug info in the program, and you can print variables, etc by name, examine the source code for a given function, etc.
That's a silly reason. At one time, you didn't know C or C++, but you learned it, so learn GDB. Seriously, it will change your life as a programmer.It actually has amazing built-in help and tons of...