Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I just bought visual studio 2013, and am using the debugger. I am wondering if there is something built in that will tell you how long something takes to load--How long a variable takes to get populated, one breakpoint to another, etc. Is this possible somehow?
You can use Profilers for such statistics.
Have look at Analyzing Application Performance by Using Profiling Tools.
I would also recommend watching Visual Studio 2013 Performance and Diagnostic Hub
For good dotnet Profilers have a look at this post :
What Are Some Good .NET Profilers?
As a side note:
There are different profilers for different languages and chores, you need to specify what exactly you need, then you can pick their respective profilers.
For example if you needed to work with DataBases, you could use sqlsever profiler, or Oracle profiler,(all major DMBSs have their profilers) the same thing goes to c++, etc
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
ASP.NET 5 is available as a preview release with Visual Studio 2015.There is a new feature called Dynamic Development, that mean we don't have to compile our code whenever we make changes. Now my question are,
1)What are the other benefits of dynamic compilation.
2)Beside ASP.NET What other framework use Dynamic compilation.
3)Do we still need Build and Rebuild option?
Thanks
There is a new feature called Dynamic Development, that mean we don't
have to compile our code whenever we make changes.
It's important not to misunderstand that we don't have to compile our code at all when we make changes. Dynamic compilation only comes into play when debugging, making development more efficient as we can make code changes without recompiling first.
As for your questions:
1) That's whole the feature, I don't think there's more to it.
2) You can do something similar WPF and Win Forms (not sure about any others), but only while stepping through code with the debugger.
3) Build and Rebuild aren't going anywhere and are needed. They're used when compiling code at compile time. Dynamic Compilation is for compilation during runtime (2 different things)
Have a look at this article from Scott Guthrie under Dynamic Development, can't say it simpler than that.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Who knows how to find the most used classes (written/implemented, not referenced) in a Visual Studio solution? The solution contains a lot of projects. By 'most used' I mean the largest number of member invocations.
Thank you.
There are certain tools like NDepend which my help you found how much classes are coupled together. Depending on Visual Studio version (ex. 2013 Ultimate) you can use Analyze tool to Calculate code metrics and see class coupling.
Personally I would go for NDpened as it gives you a lot of feedback about your solution and dependencies.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
Using c# software for 3 yrs. Now, since 14th of august there is a problem with a table named summary having a column named jcdate which keeps updating itself to the 14th of august on its own.
Even if I pass a query to change the date it gets back to 14/08/2013 in a few moments.
Can it be due to a corrupt executable?
While it's impossible for the S/O community to know what is communicating with your database if even you don't, there is something you can do to possibly help. You will need to profile your database using a sql profiler tool if there is one available for your database. SQL Server, for example, uses a tool aptly named SQL Profiler. With a profiler tool, you can monitor all I/O that is occurring on your database. A little detective work will be involved, but I believe this is the direction you need to be going.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I always find myself creating new projects in VS just to write a oneliner to test something out, or use it as a more dynamic calculator. Is there a tool out there that I can quickly open up, write my C# code and then see the result? Intellisense would be a nice option.
I remember using a C# python-mod addin for VS which was basically like a console that worked in a similar way, but I'd like to do it without creating projects etc.
Any ideas?
Is there a tool out there that I can quickly open up, write my C# code
and then see the result?
LinqPAD is defintely an option.
Intellisense would be a nice option
The paid version of LinqPAD provides also an intellisence.
CsharpRepl or gsharp (GUI version)
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I recently found the need to learn a new library that didn't come with extensive documentation for a change. The code is written in C# and I am using Visual Studio 2010 as my editor. The library that I am trying to learn did come with a sample driver, but it is fairly large and complex as well. I was wondering if there are any facilities in VS that would allow me to watch the code as it is executing so that I learn as it runs.
Is anyone aware of any tools that I should be looking at in VS and additionally, in general can you specify any other methods that I might use to quickly learn how to use new libraries.
Thanks
Write learning tests.
Red Gate's Reflector is a must have for looking into 3rd party library's and there are a couple plugins for it (FileDisassembler is one) that allow you to save your dissasembled files so that you can step through the code.
You can set a BreakPoint at any line you you want the program to stop at, and when you run it in debug mode, you will then be able to execute a single line of code at a time, by pressing F11 or F10 (F10 does not go deeper into inner function calls).