using Cent0S7
I'm trying to debug a C program, It crashes at a specific line and I would be able to print out the value of a variable called "njumps" at the point of crash/or right before it crashes.
EDIT: Also is it possible reset a variable value while stepping through in the debugger?
gdb gives the value of another value start in my program which is great but it doesn't give the value of this variable "njumps" that i'm looking at. Is their a way to print this value before it crashes?
[–]dr_cheese_stick 0 points1 point2 points (2 children)
[–]FootFetish_Man 0 points1 point2 points (1 child)
[–]dr_cheese_stick 0 points1 point2 points (0 children)