Complicated function- I need a tool which will make a block diagram out of it

Hello Experts :-)

I have to understand how certain quite complicated method works.
This method calls plenty of other methods which call other methods and so on.

It is quite complex and difficult to understand.

Is there any tool which will draw kind of block diagram
describing my function?

thank you very much

panJames :-)
panJamesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mikelittlewoodCommented:
I don't know of anything that would map a set of methods/functions without putting in your own debug code to show you the steps taken.
This is why code should be well written with lots of comments so others who did not write it can follow it with some semblance of ease.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Wim ten BrinkSelf-employed developerCommented:
I think you're better off with just a sourcecode formatter. There used to be a tool called DelForEx, but the site where it could be found has disappeared. I think it will be part of a future version of GExperts. (http://www.gexperts.org)

I did see some program that would create those diagrams that you're talking about but that was about 7 years ago and believe me, it just made the whole thing more obscure. You're just better off with well-formatted sourcecode.

There's a tool called Enterprise Architect (http://www.sparxsystems.com.au/products/ea.html) that can be used to reverse-engineer Delphi code but it doesn't look at sourcelines, just classes and datatypes.

And there's the Pascal Analyser (http://www.peganza.com/) which is interesting but still doesn't do what you're looking for. It just analyses your sourcecode for possible problems. The Pascal Browser that they offer might be more useful.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.