Link to home
Start Free TrialLog in
Avatar of sabev
sabev

asked on

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

Avatar of Andy1988
Andy1988

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!
Avatar of sabev

ASKER

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.

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
Avatar of sabev

ASKER

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".
ASKER CERTIFIED SOLUTION
Avatar of sabev
sabev

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hes
Ask CS for a PAQ and refund of this Q