Call Hierarchy

Some times it is important to know who is calling this function (method). If the function is too huge, its also good to know what other functions are called by this function.
How to see it? Righ Click on the function and select Open Call Hierarchy. The Keyboard shortcut is Ctrl + Alt + H (H for Hierarchy).

This image tell what test_gzip is doing.


Here is an interpretation

  1. Calculating length of something. (strlen). But is done twice in this function. Use Up/Down arrows from the view Or Ctrl + , / Ctrl + . to go to the source lines where it is used.
  2. The variable hello is being read/modified. (Done at total 3 Places).
  3. Invokes gzopen. Done twice in this function. gzopen is doing something else internally too.
  4. Etc.
You can toggle between who is calling this finction / what functions are called by this function.


You can also toggle reads to field (variables), look at the recent history of call hierarchies looked, focus on another function.
0 Komentar untuk "Call Hierarchy"

Back To Top