visual studio 2003 does not step into breakpoint in .inc files

Posted on 2010-11-23
Last Modified: 2012-05-10

Unfortunately I still have one website that I have to manage in classic asp. for this reason I am using the now old visual studio 2003.

I am working on an XP SP3 machine IIS 5.1

I can debug my asp files no problem, however the debugger ignore breakpoints within .inc files.

I do not have the freedom to avoid using .inc files because the website is only managed by me; I am not the developer who originally coded it.

I have noticed that .inc is not in IIS Mappings.
Question by:brillox
  • 2
LVL 15

Accepted Solution

crisco96 earned 500 total points
ID: 34204816
I think you're out of luck with directly debugging include files. The way include files work is IIS just takes the code from the include file and directly injects it into the asp page so you can't really debug the include file.

A couple of options that may help you with any issues you have is you could "debug" the old fashioned way by just putting response.write in the include file to write out any variables you want to know the value of.

Additionally if you do want to debug the code in the include file you could just copy the code from the file and paste it in your asp page in place of the include directive.

Author Comment

ID: 34205986
Additionally if you do want to debug the code in the include file you could just copy the code from the file and paste it in your asp page in place of the include directive.

this is exactly what I am doing; I just thought that maybe I missed out any conifg options on IIS..  luckily for me this is the ONLY ASP webiste I have to manage :-)

well.. you are the lucky one that get's easy points.. :-)

Author Closing Comment

ID: 34205998
Thanks for answering

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using AJAX to call classic ASP function 4 82
Update Stored Procedure question 8 48
Summernote required 3 99
Recordset containing single quotes 8 19
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now