How to debug custom controls?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ghghgh
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Fri Oct 09, 2009 12:21 pm

How to debug custom controls?

Post by ghghgh » Wed Oct 28, 2009 9:19 am

I'm using the 30 Day demo so I do not have the source. How do you set things up so you can debug your code behind files when you make a custom control? Is this possible?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: How to debug custom controls?

Post by jmestep » Wed Oct 28, 2009 10:22 am

Yes, I don't do it remotely though. I just have the site on my dev box, set a breakpoint in the code, select Debug attach to process and select the IIS process for the site that is running. I have all my test sites set up in IIS, but you can run them from Visual Web Developer using debug.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

ghghgh
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Fri Oct 09, 2009 12:21 pm

Re: How to debug custom controls?

Post by ghghgh » Wed Oct 28, 2009 11:35 am

Thanks, I was having problems trying to debug the site remotely on the webserver that I first installed the demo on.

I ended up reinstallling the demo on my local pc and then opening the store up in devstudio as a website. I've had no problems debugging my user controls that way.

Post Reply