Showing results for Debugging - .NET Blog

Feb 25, 2008
Post comments count0
Post likes count0

Webcast: New Enhancements for Web Developers in VS 2008

Web Development Tools Microsoft
Web Development Tools Microsoft

To View On Demand Webcast : Visual Studio 2008 for Web Developers: CLICK HEREWanted to update you on a upcoming web cast that I am doing in support of Visual Studio 2008 launch event...Title: New Enhancements for Web Developers in VS 2008Date/Day: Tuesday, February 26th 2008 Time: 11am to 12:30pm Pacific Standard Time (PST)Description :Get an overv...

ASP.NET
Jan 17, 2008
Post comments count0
Post likes count0

Tips & Tricks: Web Server Settings for Web Application Projects now can be stored per user as well as per project

Web Development Tools Microsoft
Web Development Tools Microsoft

Web server settings, which are accessible inside Web Application Projects (WAPs) property pages (Web section)  allow you to specify settings associated to to Visual Studio Development Server or IIS.  Many a times in a team development environment it is preferred that these settings are shared across the teams providing consistency; at the...

ASP.NET
Dec 23, 2007
Post comments count0
Post likes count0

Tips & Tricks: Start-Up Options and Instances of ASP.Net Development Server in a Multi-project Solution

Web Development Tools Microsoft
Web Development Tools Microsoft

If you have more than one project in your solution you can use following options of solution properties to set your start up actions...  You can get the below dialog by right clicking your solution and going to its properties:   If you have more than one Web project (either Web Site, WAPs or both) in your solution and choose to start onl...

ASP.NET
Dec 13, 2007
Post comments count0
Post likes count0

Workaround: Debugging Global.aspx.cs Application_Start() with ASP.Net Web Server within Visual Studio

Web Development Tools Microsoft
Web Development Tools Microsoft

When you add a global.asax file to your "Web Application Projects (WAPs) like below: and then write code in Application_Start event and try to debug it like below using Visual Studio inbuilt Development Web Server   Then during your first debug the breakpoint is hit but during your subsequent debug runs the breakpoint is not hit. The reason ...

ASP.NET
Jan 12, 2007
Post comments count0
Post likes count0

Difference Between Perf Data Reported by Different Tools – 4

maoni
maoni

.NET CLR Memory\% Time in GC counter and !runaway on thread(s) doing GC. The 2 common ways people use to look at the time spent in GC are the % Time in GC performance counter under .NET CLR Memory, and the CPU time displayed by the !runaway debugger command in cdb/windbg. What do they mean exactly? % Time in GC is calculated like this: When the nth...

.NET
Dec 20, 2006
Post comments count0
Post likes count0

Difference Between Perf Data Reported by Different Tools – 3

maoni
maoni

Both the !SOS.gchandles command (added in CLR 2.0) and the .NET CLR Memory\# GC Handles counter show you the number of GC handles you have in your process. The # GC Handles counter is one of the rare counters in the .NET CLR Memory category that doesn’t get updated at the end of each GC. Rather we update it in the handle table code, for example, w...

.NET
Dec 12, 2006
Post comments count0
Post likes count0

Difference Between Perf Data Reported by Different Tools – 1

maoni
maoni

So, there are many perf tools and some of them report either the same or the same type of data. I want to talk about various differences between the ones related to managed heap investigation. This is not supposed to cover everything..just the ones I think people use frequently. Managed Heap Size We have both .NET CLR Memory perf counters and SoS e...

.NET
Nov 14, 2006
Post comments count0
Post likes count0

My application seems to hang. What do I do? – Part 2

maoni
maoni

Last time I talked about the hang scenario where your process is taking 0 CPU and the CPU is taking by other process(es) on the same machine.   The next scenario is your process is taking 0 CPU and the CPU is barely used by other processes.   As one of the readers correctly pointed out, this is very likely because you have a deadlock. Us...

.NET
Nov 8, 2006
Post comments count0
Post likes count0

Correlating the output of !eeheap -gc and !address

maoni
maoni

!address is a very powerful debugger command. It shows you exactly what your VM space looks like. If you already got the output from the !sos.eeheap -gc command (refer to this article for usage on sos), for example: 0:003> !eeheap -gcNumber of GC Heaps: 1generation 0 starts at 0x01245078generation 1 starts at 0x0124100cgeneration 2 starts at 0x0...

.NET
Oct 23, 2006
Post comments count0
Post likes count0

New MSDN Article – Investigating Memory Issues

maoni
maoni

We have a new MSDN article out in the November issue that talks about investigating managed memory issues. http://msdn.microsoft.com/msdnmag/issues/06/11/CLRInsideOut/default.aspx?loc=en Take a look and let me know what you think. Oh, and it's also in 6 other languages (German, Spanish, French, Russian, Portuguese and Chinese) for re...

.NET