Debug any running process using VS.NET.

Post date: Aug 26, 2011 4:18:42 PM

Two day back one of colleague thought me to do debug the running process in vs.net.

Actaully we developed on apache proxy module, there we found one memory leak in between the code, so we decide to debug the code, but we never complied entire apache modules (It has more than 10 C project), we complied only one module where we suspect the memory leak.

First we put a break point at the code,

Execute Apache via Comman Prompt

we started the apache using command prompt

Then go to vs.net and do the following.

Attach Apache Process

-Courtesy Mukesh

Original Article Here