- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
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
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For more sophisticated profiling tools just Google GNU or "GCC Profiling Tool".
Currently Cypress not offering a profiler.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be interesting if Cypress can provide profiler for PSoC creator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Keil 8051 compiler produce call tree
http://www.keil.com/support/man/docs/bl51/bl51_ol_calltree.htm
You can check the map file of your project and check for overlay map of module.
See if this can help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Take a look at the menu items in this overview of the
profiler, shows capabilities -
http://www.keil.com/uvision/db_anl_pa.asp
Regards, Dana.