*
The moose likes IDEs, Version Control and other tools and the fly likes how to see the method invocation sequence from eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "how to see the method invocation sequence from eclipse" Watch "how to see the method invocation sequence from eclipse" New topic
Author

how to see the method invocation sequence from eclipse

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I have a very big j2ee application. The code base is big and written by other people. I am wondering that, from eclipse, how can I find out the method/class invokation sequence for a certain "click" on a page of the application ? I tried using debug but it is too slow. Any tool that can display the sequence calls globally ?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

You could try using AOP to add debugging to the app and print out the methods entered and exited - that would give you some idea of the code flow.

Eclipse will give you a call hierarchy - right-click a method and select Open Call Hierarchy. But that shows which methods call the selected method, and which call those, and so on. But I think you want to go the other direction - what methods are called by the selected method, and what methods do those method call.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to see the method invocation sequence from eclipse
 
Similar Threads
Debugging a web appplication from Eclipse
problem with sequence
SEQUENCE DIAGRAM
migration from netbeans to eclipse
reverse Engineering-- generate sequence diagram from java classes