Tools To Simulate CPU / Memory / Disk Load

I have seen a lot of people searching for tools to simulate high CPU, Memory and Disk issues. Here are the tools I use Simulate High CPU Usage CPUSTRES.EXE is a tool you can use to simulate High CPU usage by an user mode process. Its available for download from the Windows Sysinternals website. Here…

6

.NET 4.5 – Information of Caller Function (Caller Attributes in .NET 4.5)

While debugging code “Who called my function ?” is  a million dollar question. Knowing the origin of your function call is in many cases the first step in debugging any code. Until now a few ways of doing this were to look at the CallStack in visual studio or  a debugger or the most common…

0

ASP.NET Debugger Extension – Manual Install / Uninstall

In case you have problems with the setup files for ASP.NET Debugger Extension you can manually install the module. FILES ADE.dll This is the main module that loads in IIS Location : GAC ADEWOWHelper.exe This is a helper exe that is used in x64 environments to support WOW worker processes Location : system32\inetsrv MdbgCore.dll This…

0

ASP.NET Debugger Extension – Trace Process for Debug Events

With ASP.NET Debugger Extension you can also trace the process for events. This is actually a wrapper around the MdbgEngine (mdbgcore.dll) options to interrupt a process when an event occurs. You can use it to trace exceptions / module loads etc. For example below we are tracing for exceptions. Every time an exceptions occurs you…

0

ASP.NET Debugger Extension – Find Debug Modules

ASP.NET Debugger Extension has an useful feature to find modules that are built in debug mode. You start by selecting a website, ADE then scans all the folders under that website to figure out the modules that are built in debug mode. Debug modules should usually not be deployed on production servers as the code…

2

ASP.NET Debugger Extension – Callstack Viewer

I recently created an ASP.NET Debugger Extension for IIS 7 that you can use to troubleshoot issues that would usually involve taking a memory dump of the process. One of the features in this extension is the ability to get a managed stack trace of all the threads in the worker process that are running…

1

ASP.NET Debugger Extension for IIS 7

Just finished writing an extension for IIS 7 that will provide advanced debugging features for IIS worker processes running managed code. It basically does three things 1. Find Debug Modules This feature will help you scan your website content to spot modules that have been built in debug mode. 2. Callstack Viewer This feature will…

10

Getting better stack traces in Process Monitor / Process Explorer

Process Monitor and Process Explorer are great tools for troubleshooting issues on Windows machines. Process Explorer can be used to investigate a running process from handles to dlls loaded. Process Monitor is my favourate and it can be used to monitor file system / registry activity on a machine. It logs all access to the…

6

Using Themes in ASP.NET loads System.Drawing namespace

Using the System.Drawing namespace is strongly discouraged in ASP.NET as it leads to a lot of performance/runtime problems. Recently one of our customers reported an issue where we were getting GDI+ errors in a  normal ASP.NET application. Exception type: System.Runtime.InteropServices.ExternalException Message: GDI+ is not properly initialized (internal GDI+ error). InnerException: <none> StackTrace (generated):     SP      …

9