Re-engineering

Hello,

I haven't been able to find any information on what kind of (mainly legacy C and C++ code) re-engineering support exists in Visual Studio 2005. Is there any and if there is, where can I find more information on it?

I mean features like
(1) creating diagrams and architecture documentation according to dependencies (function calls, macro calls, class hierarchies/associations, include file hierarchies, directory structure, ...) in existing code,
(2) manually adding new groupings in these diagrams (e.g. grouping some functions together in the diagram for visualizing possible new module structures),
(3) generating and browsing listings of dead code, unused global variables, uncalled functions, unnecessarily included files etc., and even
(4) support for automatic refactorings.

At least it would be great to have such features integrated in the VS environment, which would make third-party re-engineering tools unnecessary.

--
Aleksi

[985 byte] By [Aleksi] at [2007-12-16]
# 1

VS2005 has some tools that will help you with getting information for (1). You can use the Class View window to get a class hierarchy tree (not a pretty picture but will get you the information you need). You can also use the Call Browser window to get relationships between functions (callers and callees).

There is no support for creating diagrams or refactoring out of the box for C++ in VS2005.

Thanks,

TarekMadkourMS at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...
# 2

Why aren't class diagrams for C++ supported?

I went to the Visual Studio 2005 launch event and saw this feature demoed. I thought it was one of the most interesting new features. Then I got home only to discover that it wasn't supported for C++. Makes me want to trash the free software.

What's the deal? Why do all the old school guys get left behind and forgotten?

xprogrammer at 2007-9-9 > top of Msdn Tech,Visual C++,Visual C++ General...