I am new to PSOC creator 3 and programming. In the code explorer window (on the right side) we can view what functions we have declared or defined in a particular file. I want to view the functions in the order of their hierarchy i.e. which function is calling what other functions and where their definitions are. This will help me a lot in debugging the code.
Please tell me how I can do that.
Thank you very much
Just right-click on a function name in the code-window and you can get declaration, definition or references of that function.
Error-free compilation required.
For more sophisticated profiling tools just Google GNU or "GCC Profiling Tool".
Currently Cypress not offering a profiler.
Thank you all for your reply,
I tried using the option "find active references" (by right clicking on function name) however it only shows the instances where that function is used. I want to know how many functions are being called by that particular function and location of their respective definitions and usages.
I was thinking it would be nice if in code explorer window we can see the hierarchy of functions. I would really appreciate if cypress can introduce that. Otherwise debugging becomes extremly difficult as the code complexity increases.
Keil 8051 compiler produce call tree
You can check the map file of your project and check for overlay map of module.
See if this can help