How to debug compiled asp.net apps?

J

John Dalberg

Is there a way to single step or set up breakpoints on a compiled asp.net
app that I developed?

J.
 
D

David Browne

John Dalberg said:
Is there a way to single step or set up breakpoints on a compiled asp.net
app that I developed?

You need to be running the debug build of the dll's. Then you need to
attach a debugger. If you have VS installed on the same machine, then open
the solution and go to DEBUG\PROCESSES and attach the aspnet_wp.exe process
and set a breakpoint.

If it is running on another machine you can either install remote debugging
on the server, which is on the Visual Studio Disk 1 instller.

Or you can use a more lightweight debugger on the server, like cordbg.exe,
available with the .net framework. or WinDbg from
 
D

David Browne

David Browne said:
You need to be running the debug build of the dll's. Then you need to
attach a debugger. If you have VS installed on the same machine, then open
the solution and go to DEBUG\PROCESSES and attach the aspnet_wp.exe process
and set a breakpoint.

If it is running on another machine you can either install remote debugging
on the server, which is on the Visual Studio Disk 1 instller.

Or you can use a more lightweight debugger on the server, like cordbg.exe,
available with the .net framework. or WinDbg from
from

http://www.microsoft.com/whdc/devtools/debugging/default.mspx

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top