Roxana
Roxana

Reputation: 1581

How to detect the exact flow between two methods in a huge project

Given:

Hope: finding an easy way to detect punctually the calling hierarchy/flow where from a method is called another method.

Pale solution - eclipse callee hierarchy - but you need to expand manually each level - and there are hundreds of nodes, not too efficient.

Can you please tell me if you know a shortcut for this?

Thank you,
Roxana

Upvotes: 1

Views: 172

Answers (2)

Stephan
Stephan

Reputation: 8090

This isn't a very nice solution but it should do the job.
If you have a test version of the project you can just throw a Exception in the second method and in the stack trace you should be able to see the flow starting from first method.

Upvotes: 1

amicngh
amicngh

Reputation: 7899

The efficient way is to use eclipse to debug the huge project by applying Breakpoints .

Upvotes: 0

Related Questions