CodePudding user response:
The function called through the debug debugging into specific knew the calling function,CodePudding user response:
The debug is supposed to be the fastest, where the function calls a breakpoint, then single-step tracking into functionOr grep once in place, and then press processing logic order le qing which deal with a function pointer is the value
CodePudding user response:
A function pointer call pointer address should be able to print, can know which function is through this address? Each function is compiled has an addressCodePudding user response:
Add a print all in each function, such as printf (" % d: % s \ n ", __LINE__, __func__);So every time I call the corresponding function, function in the execution of this print will show the function name (and line number)
CodePudding user response: