debug a dll

G

Guest

Hi,

I want to debug my asp.net web site, when I open a dll project and attached
the web page process and it didn't stop on the break point. How to debug the
dll? Thanks.
 
P

Patrick Steele

Hi,

I want to debug my asp.net web site, when I open a dll project and attached
the web page process and it didn't stop on the break point. How to debug the
dll? Thanks.

Is the DLL compiled in debug mode?

What process did you attach to?
 
G

Guest

Thanks Patrick,

Yes. the DLL is debug mode and I attached and an instance
IE(http://localhost/myapp.aspx).

I got it to work like this: crate a new aspx web application and add the dll
project and reference to the dll project and now I can debug. Do I have to?
or just open DLL project and attach a web application process and can debug?
 
S

Steve

You need to attach to the ASP.NET process, not the IE process.


Steve C.
MCSD,MCAD,MCSE,MCP+I,CNE,CNA,CCNA


Thanks Patrick,

Yes. the DLL is debug mode and I attached and an instance
IE(http://localhost/myapp.aspx).

I got it to work like this: crate a new aspx web application and add the dll
project and reference to the dll project and now I can debug. Do I have to?
or just open DLL project and attach a web application process and can debug?
 
G

Guest

Thanks for the help.
I only see aspnet_wp.exe, don't see ASP.NET.

Steve said:
You need to attach to the ASP.NET process, not the IE process.


Steve C.
MCSD,MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 
S

Steve

ASP.NET's process name is aspnet_wp.exe. I couldn't think of it at the
time. Sorry!! :)


Steve C.
MCSD,MCAD,MCSE,MCP+I,CNE,CNA,CCNA
 

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,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top