I’m using GDB to step through the code.
The problem is my code has functions from external files. Is there a way on stepping through inner functions?
like this:
int main
{
string a ="AAA";
DoString(a);
}
Is there a way on stepping through execution of DoString with GDB?
You mention assembly in the tags, so I assume the function is not in C. Just use
si(short forstepi) GDB command to step one machine instruction at a time. See the manual.