Questions tagged [call-hierarchy]

Call Hierarchy enables you to navigate through your code by displaying all calls to and from a selected method, property, or constructor. This enables you to better understand how code flows and to evaluate the effects of changes to code. You can examine several levels of code to view complex chains of method calls and additional entry points to the code, which enables you to explore all possible execution paths.

50 questions
4
votes
0 answers

How to get call relations of an open solution by using a plugin

I try to develop a VSPackage for VS 2010 that investigates all the available methods in the current solution and to reconstruct the call relations of each single method just like the built in Call Hierarchy feature of VS does. I managed to get all…
4
votes
2 answers

Obtaining call hierarchy in Eclipse CDT

I am developing a plugin for Eclipse CDT and I want to generate the call hierarchy of a function. Is it possible without having to traverse the Syntax Tree of every file myself?
cipher
  • 129
  • 1
  • 8
3
votes
2 answers

Multi-threaded time-based call hierarchy

I am using eclipse to write java code. If I'm debugging some code I can set a breakpoint and follow along as the code goes through each of the functions or I can backtrack. I can also look at the call hierarchy or the references to get an idea. …
user701273
  • 41
  • 3
3
votes
1 answer

Is there a utility for Delphi 6 that analyzes class hierarchies and can be queried for method ancestry?

Is there a tool for Delphi 6 that can analyze the class hierarchy of your application and answer questions about particular methods? I could use a tool that could take a particular method name and it would show which classes in the call hierarchy…
Robert Oschler
  • 14,153
  • 18
  • 94
  • 227
3
votes
1 answer

How to get all possible callers of a method in Java - like call hierarchy

Say I have a method m in a class. I'm trying to find all the methods that call m in the whole project. Similar to eclipse's call hierarchy tool, except I need it to output a list/array of Methods. I need it statically so I dont think a stack trace…
Cazs
  • 61
  • 2
  • 4
3
votes
5 answers

How to get call hierarchy in java

I have three classes named FirstClass,SecondClass and ThirdClass. Here follows the source of three classes: FirstClass.java public class FirstClass { public void firstMethod(){ SecondClass secondClass = new SecondClass(); …
Anish Antony
  • 875
  • 3
  • 17
  • 35
2
votes
1 answer

Accessing Eclipse's call hierarchy programmatically

I need to programmatically generate a call graph as part of an Eclipse plugin. I know Eclipse has the built-in Open Call Hierarchy function available, but I haven't been able to find a way to access it as part of plugin development. Does anybody…
Tas
  • 285
  • 1
  • 15
2
votes
1 answer

Call hierachy of properties in pom.xml

I have a maven project with multiple nested projects. All of them do always have the same version. Untill now, if I want to increase the version, I went through all pom.xml files and changed the version number. Now, I wanted to outsource the version…
cloudy_rowdy
  • 77
  • 1
  • 13
2
votes
0 answers

Getting call hierarchy in gperftools for an R package

I can use gperftools to produce a call graph, as in for instance this question. Now I would like to get a call graph for bind_rows() in the dplyr R package in order to track down this bug. I compiled both R and dplyr using CPP/CXXFLAGS=-g…
Michael Schubert
  • 2,726
  • 4
  • 27
  • 49
1
vote
2 answers

Visual Studio Call Hierarchy : How to find calls through an implemented interface to a method?

with Visual Studio Call Hierarchy functionality I can find calls to a certain method. However, it doesn't seem to be able to find class through an implemented interface. Like in the following, if Method() is called through IFoo, these calls aren't…
Touko
  • 11,359
  • 16
  • 75
  • 105
1
vote
2 answers

Visual studio C++ IntelliSense issue

I seem to be having two issues with my project after I converted from VS 2005 to VS 2010. IntelliSense: command-line error: invalid macro definition: _WIN32_WINNT>=0x0501 And I also cant seem to be able to do a "Call Hierarchy" on any of the…
nixgadget
  • 6,983
  • 16
  • 70
  • 103
1
vote
1 answer

how to config PyCharm so it will show only functions that i wrote in "call hierarchy" (and not internal python functions)?

In PyCharm, there is a feature called call hierarchy (under Navigate -> call hierarchy) which shows the function call graph. the graph contains too much information. I want to filter it only by the functions I wrote, not internal python functions.…
ggcarmi
  • 458
  • 4
  • 17
1
vote
0 answers

VS Code Call Hierarchies Across Library Boundaries in a Monorepo

In the context of a TS monorepo, VS Code appears unable to track call hierarchies across libraries. I haven't been able to find a solution in repos based on yarn workspaces nor Nx. I'm currently working with a micro frontend architecture; because…
1
vote
0 answers

How to generate Java call hierarchy in IntelliJ IDEA for overridden methods

I need to analyze the call hierarchy of methods in a Java Spring Boot application. IntelliJ IDEA gets confused when I have: a interface I declaring I.foo() an abstract class A with implementation of I.foo() several concrete classes B, C etc…
Niccolò
  • 2,854
  • 4
  • 24
  • 38
1
vote
1 answer

IntelliJ call hierarchy with dependencies

In IntelliJ, it is possible to decompile single class from a dependency jar and see that there is a function call to our prod class. But this is not useful for finding all calls to the method. There is an option to include dependencies in call…
Saim Doruklu
  • 464
  • 2
  • 5
  • 16