Solved

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

Posted on 2010-11-23
3
412 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

728 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