call sequence in PTU

call sequence in PTU

Does anyone know how I can get the call sequence of functions. For example if I have

main(){
f1()
f2()
}

and then I modify it to

main(){
f2()
f1()
}

how can I know that f2 was called after/before f1? The closest thing I can find was the to use the hot stack view, but that only gives you for each function (i.e it only tells me that f1() was called by main() or that f2() was called by main(), but not the sequence).

thanks,

Emad

2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

I think there is no way you can understand this from PTU views. It doesn't provide such information.

But you can alwaysinsert some printf callsat the beginning of your functions and use the generated trace to understand the call sequence.

Melden Sie sich an, um einen Kommentar zu hinterlassen.