Questions tagged [code-map]

Visual Studio Code Map

Visual Studio Ultimate / Enterprise editions have the Code Map feature that allows developers to visualize code elements and the relationships between them, highlight potential problems such as circular references and create mind maps of important code points.

47 questions
2
votes
2 answers

Where is Class Diagram on Visual Studio 2013

I could not see below Class Diagrom button on VS2013. Was this option excluded from VS2013. Where is Class Diagram on Visual Studio 2013. There is a Map Code button in VS2013 but as my understanding it is not working like Class Diagram. Actually I…
Omer
  • 8,194
  • 13
  • 74
  • 92
1
vote
0 answers

How do I make the code card not require a connection to the database?

Question: How do I make the code card not require a connection to the database? Description I'm trying to figure out the project. I built a code map. When I click on a project on the code map, I get an error. I use: Visual Studio-2022…
eusataf
  • 807
  • 1
  • 12
  • 24
1
vote
0 answers

Visual Studio code map does not work - how to transform vb code snippets into a dmgl directed graph / code map using xml and xslt

I can't get Visual Studio to model/map orphaned/discrete VB function code. I am working with a legacy application that is written in VB.Net. Most of the application code/executable is opaque to the end user, but it has user-space customization…
1
vote
0 answers

CodeMap does not Sequentially Arrange Method Calls

I have a legacy code which has a method containing a lot of code, the method makes call to tons of other methods too. To visualize I right clicked on the method name and from context menu selected Show Related Items on Code Map --> Show Methods…
Vivek Shukla
  • 767
  • 6
  • 21
1
vote
1 answer

Visual studio 2017 code maps filtering

Is there way to filter only method calls on code map when you select a method and click "Show Methods this calls"? When I only check "Methods" in code map filter, it also shows getters and setters along with method name. I understand technically…
Bot
  • 51
  • 1
  • 8
1
vote
2 answers

Code Map is slow

I'm working with VS 2013 Ultimate and using Code Map feature, but I have to wait minutes for commands like 'Show Containing Type' finish execution. How can I improve it's performance?
Waldemar Gałęzinowski
  • 1,125
  • 1
  • 10
  • 18
1
vote
1 answer

Can't see code map/show stack graph visual studio 2015

I don't know what happend but my Code Map is missing from visual studio 2015. Also when i go to Debug there always was something like Show Stack Graph or something which would open graph of function calls etc, and it is missing now. Anyone had same…
user7042812
  • 113
  • 1
  • 12
1
vote
1 answer

Show Code map in Visual Studio fails

Currently I am working with big application with over 50+ projects and I wanted to generate class diagram for it. I know that VS provides that function so I tried to generate such code map, but then this happened : X.dll: Assembly cannot be …
kuskmen
  • 3,648
  • 4
  • 27
  • 54
1
vote
1 answer

Show overridden methods on Visual Studio Code Map

I've got a hierarchy of MVC controllers inheriting from each other which I've visualised on a Visual Studio Code Map. What I would really like to see is where methods are overridden, so I can see if a particular method on a base controller is…
Tim
  • 5,435
  • 7
  • 42
  • 62
1
vote
1 answer

Visual Studio 2010 - Code flow visualiser

I would like to know if there is a tool which can help me in seeing which lines of code were executed within two break points. Example: I have break points set at the beginning and end of a method. Now I want to see which are the lines of code that…
Babu James
  • 2,740
  • 4
  • 33
  • 50
1
vote
2 answers

Code Map not working in VS2012

I try to generate a Code Map for my solution but it blows up saying: Unable to connect to the specified database. Specifically, it's trying to connect to (LocalDB)\v11.0 Why does it blow up and why does it need to connect to a DB?
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
0
votes
0 answers

Visual Studio Code Map Error: Could not allocate a new page for database 'Microsoft.VsCodeIndex'

While mapping my source code using the Visual Studio Code Map it index all the code, but after some minutes I get the message: MyAssembly.dll: Assembly cannot be loaded: C:\PathToMySolution\PathToMyProject\bin\MyProject.dll Could not allocate a new…
RLT
  • 31
  • 5
0
votes
1 answer

Visual studio code map equivalent in XCode

Has anyone come across any code map Visual Studio alternative for XCode to visualize the ObjC code ? I tried OmniGraffle but it wasn't that easy to use and gave up in the end. I am surprised XCode did not make any investment in this similar to…
sandroid
  • 175
  • 1
  • 8
0
votes
1 answer

Why Code Map does not work on Unity projects?

When you try to invoke Code Map against a Unity project, you get an errror icon and none of the elements can get expanded: Why is that and how to fix it ?
aybe
  • 15,516
  • 9
  • 57
  • 105
0
votes
1 answer

Troubleshooting Visual Studio 2019 Code Map errors

I have a Visual Studio 2019 (16.5.4) solution with about 10 .Net Core projects, some are netcoreapp3.1 others are netstandard2.0. Some have project references to the other projects, most have NuPkg dependencies. If I attempt to generate a Code Map…