aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Method flow analysis using Eclipse IDE - reg Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Method flow analysis using Eclipse IDE - reg" Watch "Method flow analysis using Eclipse IDE - reg" New topic
Author

Method flow analysis using Eclipse IDE - reg

dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
Hi Friends,

I would like to know is there any feature in Eclipse that would help to keep track of the method flow. I mean, I would like to start from a method and I should be able to step through each lines of the code, when there is a method call, the utility should transfer to that particular source and comeback upon traversing the block.

Sorry if I am not clearly stated my problem.

Thanks and Regards,
Dinesh Venkatesan.
Wirianto Djunaidi
Ranch Hand

Joined: Mar 20, 2001
Posts: 210

Dinesh,

From your description, it sounds more like you are looking for debugging tools. In that case, Eclipse does has it.

Usually when people says method flow analysis tools, it means tools that analyze codes and generate a sequence/interaction diagrams to me.

-DJ
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40064
    
  28
Rather than clicking "run" you find the "debug" menu. Set a breakpoint, and your app will run until it reaches the breakpoint. You now have three options
  • 1: Step into: follows the flow of control into all method calls.
  • 2: Step Over: Follows the flow of execution but doesn't show the details of a called method.
  • 3: Step return: Follows the flow of execution to the end of the present method and back to wherever it was called from.
  • You can call each of those functions with f-keys, I think f5 f6 and f7.
  • At any stage you can call up a window showing the values of any variables or fields at that point.
  • There are similar debuggers on most IDEs and they all work more-or-less the same way.
    [ April 18, 2008: Message edited by: Campbell Ritchie ]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Method flow analysis using Eclipse IDE - reg