Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 452
  • Last Modified:

Can't debug .asp in Visual InterDev

Yeah, It's an old project.  Problem is, it won't let me debug.  If I hover over the BreakPoint I get the error - "The Break Point will not currently be hit.  The document is not loaded".

ASP debugging is enabled on IIS.
ASP debuggin is also enabled in the project properties.

I'm really, really stuck here.  I have reloaded InterDev and IIS.

Thanks for any help

0
sabev
Asked:
sabev
  • 3
  • 2
1 Solution
 
Andy1988Commented:
Most likely the [DLLName].pdb file is not getting generated when you build project in Debug mode.  Compare the timestamp on [DLLName].pdb file and [DLLName].dll after you rebuild in Debug mode.  If they are different try the following to resolve the problem:

1. Go to you project Properties and check Configuration Properties -> Build -> Outputs -> Generate Debugging Information setting.  It should be set to True.  

2. Try to compile in Debug mode with this setting set to True.

3. Run the project.

Good luck!
0
 
sabevAuthor Commented:
hmmmm.... No .pdb file is being created.  I'm not creating a .DLL here.  This is a Web project.

Should a .pdb be created for a Web project?

And I see no Configuration Properties under Project properties.  I have six tabs -
General
Master Web Server
Dependencies
Launch
Editor Defaults
Appearance

Thanks!  I'm getting pretty desperate.

0
 
Andy1988Commented:
My bad, I didn't look that it's a web project.

In your case, try debugging in this way:

http://weblogs.asp.net/scottgu/archive/2007/07/19/vs-2008-javascript-debugging.aspx
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
sabevAuthor Commented:
Well, it's not .NET.

And when I set a break point like in the link it just says - "The Break Point will not currently be hit.  The document is not loaded".
0
 
sabevAuthor Commented:
I fixed it.  I ended up copying all the files to a different directory, and creating a new solution.  Aparently it was a path problem.
0
 
hesCommented:
Ask CS for a PAQ and refund of this Q
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now