Visualising complex code flows in Visual Studio

366 views Asked by At

I have one very old code-base which consists of C++, VB and Classic ASP nonsense and I am trying to understand some code flows there. Unfortunately, there are many projects written in different languages so best way to analyse code I found was to Search In Folders from Visual Studio across whole code-base and setting bookmarks to visualise flow and help me navigate faster between them.

I am almost happy with that, however Visual Studio build-in Bookmarks seems to have very poor functionality, for example you cannot set more that one bookmark on the same line or you cannot create nested folders which is a key thing in understanding extremely complex code flows.

Upd 1.

I rephrased my question for those who still consider it as an off-topic:

How I can visualise complex code flows in Visual Studio? I tried to use indentation in bookmark name to visualise nested calls however it doesn't work very well especially when I have to move/merge several code flows (I have to 're-calcualte' indents) and I still not able to have multiple bookmarks that I want to put into separate flows for the same line.

2

There are 2 answers

1
thomasb On

I don't think it's possible do what you're looking for directly inside VS.

Why don't you use a UML-like tool like Yed for instance ?

IMHO, UML is still the best method to modelize complex flows.

0
Tom Bushell On

If you are not familiar with ReSharper, it might be helpful (not sure if it works with ASP, however).

See my question Looking for VisualStudio2008 “Find/Search” utility that shows results in context...and read the comments too.

I ironically note that my question was also closed.