Solved

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

Posted on 2010-11-23
3
398 Views
Last Modified: 2012-05-10
Hi,

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.
0
Comment
Question by:brillox
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
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.
0
 

Author Comment

by:brillox
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.. :-)
0
 

Author Closing Comment

by:brillox
ID: 34205998
Thanks for answering
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

830 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