Setting method for debugging ASP code in Visual InterDev 6.0

xiaoxiao2021-03-06  117

Overview

Debugging in Visual InterDev 6.0

The distributed nature of Web applications requires that developers be able to seamlessly debug application logic across both the client and the server, and attach to and debug processes running on remote servers. With Visual InterDev 6.0, developers can now set breakpoints on both client- and Server-Side Script, Step Through Code, Add "Watch" Variables, Investigate The Call Stack, And Debug Remote Web Servers.

Developers can choose from one of three debugging configurations in Visual InterDev. Each configuration enables a subset of Visual InterDev debugging capabilities. Of the several potential pitfalls to successfully debugging Visual InterDev applications, most are related to setup failures and incorrect security permissions. This article describes HOW to set up and use each.

Client-only debugging

Visual InterDev 6.0 permits developers to debug client scripts running in HTML or Active Server Pages (ASP) pages against their local workstation using a local copy of Personal Web Server in Microsoft Windows® 95 or Windows® 98. This configuration does not support debugging of server Script in asp.

Local Server Debugging

Typically, individual developers use Local mode in Visual InterDev 6.0 to build, test, and debug portions of the application in isolation from the rest of the team. In this case, they run a local copy of Microsoft Internet Information Server (IIS) on their Windows NT® Development Machine To Debug Their Web Pages Before Checking The Into The Recommended Debugging Configuration In Visual InterDev 6.0.

Remote Debugging

Developers can also attach to and debug server scripts running in ASP pages on a remote IIS This is a powerful feature that permits a developer to issue debugging commands across the network;. However, it is limited in that only one user can use Remote Debugging on A Server At a Time.Terminology

THERE ARE SEVERAL TERMS AND ABBREVIATIONS THAT WILL BE Used in this article. Some OR All of The MAY Already Be Familiar To You. They Are Listed Here for Completeness:

MTS-Microsoft Transaction Server. IIS-Microsoft Internet Information Server 4.0. Out-of-proc-Out-of-process Webs. These will be executed within separate MTS (Mtx.exe) processes. In-proc-In-process Webs. The IIS (inetinfo.exe) process. ASP-ACTIVE SOCKETS. SSL-Secure Sockets Layer. Jit-Just-in-Time Debugging.

Debugging setup

Setting up client-only debugging

Client-Only Debugging Permits Developers To Debug Client Scripts Running In Html Pages Against Their local Workstation Using A local Copy of Personal Web Server in Windows 95 or Windows 98.

IT Does Not Support Debugging of Client OR Server Script in ASP Pages.

Note The Capabilities of Client-Only Debugging Are A Subset of Those Available In The Recommended Configuration (Local Server Debugging).

Basic Requirements

FOLLOWING Are The Basic Requirements for Client-Only Debugging in Visual InterDev 6.0:

Microsoft Windows 95 or Microsoft Windows 98 Visual InterDev 6.0 Personal Web Server Front Page Server Extensions

Installing the software

Install the software using these steps in the order listed:

Install Visual InterDev Development Environment

Insert installation compact disc 1 into your computer. Setup.exe automatically runs the Installation Wizard. The wizard steps you through the installation process. Note Depending on your selections and your current configuration, the wizard will prompt you to install different required components and to reboot Windows one or more times during the installation process. After each reboot, the wizard automatically returns to the proper step. Follow the steps of the Installation Wizard until you are prompted to select either Install Visual InterDev 6.0 or Server Applications. Select Install Visual InterDev 6.0 and click install. When prompted, select either a Typical or Custom installation. After the Visual InterDev development environment has been installed on your computer, you are prompted to install MSDN ™, the Microsoft Developer Network. Note that you need to install MSDN in order For F1 Help To Work and to Have Access To The Visual InterDev Documentation.install Personal Web Server

Note The following components are required for the PageNavbar design-time control (DTC), Remote Debugging, and for previewing Active Server Pages on your local machine. You may choose not to select these components if you do not want to take advantage of these features .

.. Select NT Option Pack Common Files and click Install This launches the Microsoft Personal Web Server Setup When prompted to select Minimum, Typical, or Custom, select Custom When the list of components appears, select the following.:

Common Program Files Microsoft Data Access Components (MDAC) 1.5 Personal Web Server (PWS) Transaction Server Clear the remaining components. As you clear the other components, the wizard might display a message that warns you of various dependencies. You can click Yes to ignore the dependencies because you are using this computer as a client for Visual InterDev, not as a server. Continue with the remaining steps of the Personal Web Server Setup. When you return to the Server Setup screen, select FrontPage 98 Server Extensions and click Install. Continue with the remaining steps of the wizard.enable client script debugging in ASP PAGES

When Personal Web Server (PWS) processes an ASP page, the resulting page sent to the browser can be considerably different than what you see when you edit the ASP page in the editor. Server script can generate new client content dynamically or, conversely, a large quantity of server script can result in only a few lines of client HTML output. This situation introduces problems when you set breakpoints in client script inside an ASP page because the line on which you set the breakpoint can move dramatically within the file by the time The page reaches the browser.

The following steps describe how to enable client-side debugging in ASP pages. Doing so specifies that PWS tracks the location of client script breakpoints in an ASP page, and passes the location of those breakpoints to Microsoft Internet Explorer so that Internet Explorer can stop at The Correct Locations.

Note if you intend to work exclusively with client Script in .htm files, you do not need to enable client-side asp debugging or perform.

In the Visual InterDev Tools menu, select Options. Click the Debugging category. Under Script, make sure Insert breakpoints in Active Server Pages for breakpoints in client script is selected. Click OK. In the Visual InterDev Project Explorer, right-click the file you Want to debug and select set as start page. Start the debugger.setting up local server debugging

The Following Apply To Local Server Debugging:

Permits individual developers to build, test, and debug portions of a Web application in isolation from the rest of the team Can be used to debug client script, server script, or Microsoft Visual J components Is the recommended debugging configuration in Visual InterDev 6.0

Basic Requirements

FOLLOWING Are The Basic Requirements for Local Server Debugging in Visual InterDev 6.0:

Microsoft Windows NT 4.0 Server or Windows NT 4.0 Workstation Internet Information Server 4.0 or higher or Personal Web Server for Windows NT 4.0 Workstation Visual InterDev 6.0 Windows NT 4.0 Service Pack 3 or later IIS Hotfix shipped with Visual InterDev or Windows NT 4.0 Service Pack 4 or Later FrontPage Server Extensions Windows NT Administrator Privileges

Installing the software

Install the Software Following Thase Steps in The Order Listed:

Install Visual InterDev Development Environment

Insert installation compact disc 1 into your computer. Setup.exe automatically runs the Installation Wizard. The wizard steps you through the installation process. Note Depending on your selections and your current configuration, the wizard will prompt you to install different required components and to reboot Windows one or more times during the installation process. After each reboot, the wizard automatically returns to the proper step. Follow the steps of the Installation Wizard until you are prompted to select either Install Visual InterDev 6.0 or Server Applications. Select Install Visual InterDev 6.0 and click install. When prompted, select either a Typical or Custom installation. After the Visual InterDev development environment has been installed on your computer, you are prompted to install MSDN. Note that you need to install MSDN in order for F1 Help to work and To have access to the Visual InterDev Documentation.install Server Components

Next, select Launch BackOffice Installation Wizard and click Install. The BackOffice Installation Wizard will prompt you to select a Custom or Visual InterDev Developer option. Select Custom and click Next. Verify the disk space requirements and click Next. Select Remote Machine Debugging, Visual InterDev Server, Front Page Server Extensions, and MS Data Access Components from the top level of the components list. Note Remote Machine Debugging is another component of the BackOffice Server Wizard. It sets up the latest versions of the debugging components as well as some registry keys that allow Visual InterDev to connect to the Transaction Server for debugging. The stand-alone setup for this is located in the Scrpt_ss directory on CD1 of Visual InterDev Professional Edition, or CD2 of Visual Studio Professional or Enterprise Edition. Note Visual InterDev Server is another Component of the Backoffice Server Wizard. it is required for debugging. The Stand-Alone Setup for this is Loca ted in the Vid_ss directory on CD1 of Visual InterDev Professional Edition, or CD2 of Visual Studio Professional or Enterprise Edition. Note If the Windows NT Option Pack is reinstalled, the Remote Machine Debugging and Visual InterDev Server components must also be reinstalled. Expand the Windows NT Option Pack Node and SELECT The FOLLOWING:

Internet Information Server Microsoft Management Console (MMC) NT Option Pack Common Files Transaction Server Note The default IIS installation will set up the needed components, but there are some that you may turn off without adverse effect. The FTP server, the NNTP server, and the SMTP server are all unnecessary for debugging. The NNTP and SMTP servers are only installed on Windows NT Server, whereas FTP server is an option for Windows NT Server and Windows NT Workstation. Click Next and continue with the remaining steps of the BackOffice Installation Wizard .Install ASP HotFix or Windows NT 4.0 Service Pack 4 or Later

Windows NT 4.0 Service Packs 4 and later contain a large number of bug fixes for IIS, but they were not available until after Visual Studio 6.0 shipped. A small number of these bugs are debugging-specific, and can seriously hamper using the debugger productively. To remedy the situation until the Windows NT Service Packs were released, IIS released a Hotfix that contains the fixes needed for debugging. The Hotfix changes only one file, Asp.dll, and will not change its version number, so all other setups, including The Windows NT 4.0 Service Packs, Will Correctly Update It Later.

Note You may need to stop the Web services before installing the Hotfix or Service Packs in order for these program to correctly update the Asp.dll file. You can do this by stopping the "IIS Admin Service" from within the Services applet in Control Panel .

Run /iis/winnt/asp2fix1.exe from the installation dist (see Upcoming Note).

For Visual InterDev Professional Edition, it's located on CD1. For Visual Studio Professional Edition, it's located on CD2. For Visual Studio Enterprise Edition, it's located on CD3. Reboot when prompted.The executable file is also included later in this document for your convenience . Note that this is the Windows NT version and will not work properly on machines running Windows 9x. When Windows NT 4.0 Service Pack 4 is available, it is recommended that you upgrade to it and stop relying on this Hotfix, which is meant as a Temporary Workaround.

Giving Users permission to debug

To Give Users The Ability To Debug, Log on To The Machine As An Administrator and Follow these Steps:

From the Start button, select Programs, and click Administrative Tools (Common). Run User Manager for Domains. Add the user's Windows NT account to the Administrators group. From the Start button, click Run on the server computer. Type Dcomcnfg.exe and click OK. On the Applications tab, find Catalog Class (see Figure 1) and click the Properties button. Figure 1. Applications tab Note The Catalog Class and Machine Debug Manager items are installed with the BackOffice Installation Wizard and are part of the server components For Visual Interdev 6.0. if the catalog class and machine debug manager Applications Do Not Show Up in The Applications Tab, See Section "Potential Errors or Problems."

This will open a dialog box titled Catalog Class Properties with four tabs. Click the Security tab. Select Use custom access permissions and click Edit (see Figure 2). Figure 2. Security tab This launches the standard Windows NT Add / Remove users dialog box (see Figure 3). you can now add or remove any Windows NT user accounts or groups that you wish to have or deny permission. (The simplest way is to add the Administrators group because in step 1 you added all of the users that you want to allow Local Debugging into this group.) Note Due to a Windows NT bug, the Interactive User account will not work for granting debugging access. Users logged on to the server will not be able to debug even though this would seem to allow it . This should be fixed in Windows NT 4.0 Service Pack 4. Figure 3. Windows NT Add / Remove users dialog box Click OK when you are finished making changes. Repeat steps 5-8 for the Use custom launch permissions option. Note in the Identity Tab (See Figure 4), I f The interactive user option is selected, make sure a member of the Administrators group is currently logged on to the machine while attempting to debug ASP pages. If the This user option is selected, make sure the specified user is a member of the Administrators group . Also, do not use The launching user option when configuring for the Machine Debug Manager application. Figure 4. Identity tab Click OK to close the Catalog Class Properties dialog box, select the Machine Debugger Manager from the Applications tab list box, and click the Properties Button (See Figure 5). Figure 5. SELECT The "Machine Debug Manager" Repeat Steps 4-8 for the Machine Debug Manager.

Note Any user wanting (permission in Machine Debug Manager access permission in Catalog Class, launch permission in Catalog Class, launch permission in Machine Debug Manager, launch) to ensure success to debug on this machine must have access to all four sets of DCOM permissions lists . Click OK to close the Dcomcnfg.exe dialog box. Reboot the machine. When the machine restarts, the new users will have permission to debug. Note You may notice that the Interactive User account is added to all of the classes that were mentioned earlier . It would seem that having this account added and logged on to the server would be all you need to enable a machine for debugging. This will not work, however, because of a bug in Windows NT, which is fixed in Windows NT 4.0 Service Pack 4. After Service Pack 4 is installed, users may log on to the remote server and expect Remote Debugging to work correctly, without following the preceding steps.Automatically enable server script debugging in ASP pages

You can manually enable server-side debugging for your ASP application as described under "Manually Enabling ASP Debugging" later in this article. Alternatively, Visual InterDev can automatically enable debugging on the server as needed.

.

Note When Automatically Enabling Server-Side Debugging, Visual InterDev Will Enable Client-Side Debugging As Well.

In the Visual InterDev Project Explorer, right-click the project and click Properties to display the Property Pages dialog box. Click the Launch tab. Under Server script, make sure Automatically enable ASP server-side debugging on launch is selected. Click OK to close the Properties dialog box. In the Visual InterDev Project Explorer, right-click the file you want to debug and select Set as Start Page. From the Debug menu, select Launch, or click the Play button on the Project toolbar.Note to debug script IN ASP PAGES, You Must Be Running Version 4.0 OR Later Of Microsoft Internet Information Server (IIS).

When these Steps Are Followed, Each Time You Start A Debugging Session Visual Interdev Automatical Configures The Server For Debugging. This Includes the Following:

Setting the IIS application to run in its own memory space. (In COM terms, it runs "out of process.") Enabling the IIS application's debugging options. Setting up an MTS package to allow you to attach the debugger to the Web application. ................ ..

.

Setting up remote debugging

Remote Debugging Permits Developers to Attach To And Debug Server Scripts Running In AS on A Remote IIS.

In adding, Remote Debugging is limited in That Only ONE User CAN Use Remote Debugging On A Server At A Time.

Basic Requirements: Client

FOLLOWING Are The Basic Requirements for the Client Machine for Remote Debugging:

Microsoft Windows NT 4.0 Workstation or higher or Microsoft Windows NT 4.0 Server or higher Visual InterDev 6.0 Internet Information Server 4.0 or higher or Personal Web Server for Windows NT 4.0 WorkstationBasic requirements: server

FOLLOWING ARE The Basic Requirements for the Remote Server Machine in Remote Debugging:

Microsoft Windows NT 4.0 Server or Windows NT 4.0 Workstation Internet Information Server 4.0 or higher or Personal Web Server for Windows NT 4.0 Workstation Windows NT 4.0 Service Pack 3 or later IIS Hotfix shipped with Visual InterDev or Windows NT 4.0 Service Pack 4 or later FrontPage Server Extensions Windows NT Administrator Privileges

Client setup

To set up the client (developer's) Machine Follow these Steps:

Install Visual InterDev Development Environment

Insert installation compact disc 1 into your computer. Setup.exe automatically runs the Installation Wizard. The wizard steps you through the installation process. Note Depending on your selections and your current configuration, the wizard will prompt you to install different required components and to reboot Windows one or more times during the installation process. After each reboot, the wizard automatically returns to the proper step. Follow the steps of the Installation Wizard until you are prompted to select either Install Visual InterDev 6.0 or Server Applications. Select Install Visual InterDev 6.0 and click install. When prompted, select either a Typical or Custom installation. After the Visual InterDev development environment has been installed on your computer, you are prompted to install MSDN. Note that you need to install MSDN in order for F1 Help to work and To Have Access to the Visual Interdev Documentation.

Install Server Components ARE Required for the Client To Be Aable To Automatical Set Up Debugging on The Remote Server: Common Files, Management Console, And Internet Service Manager.

Select Launch BackOffice Installation Wizard and click Install. The BackOffice Installation Wizard will prompt you to select a Custom or Visual InterDev Developer option. Select Custom and click Next. Verify the disk space requirements and click Next. Expand the Windows NT Option Pack node and select :

Internet Service Manager Microsoft Management Console NT Option Pack Common Files Note If you already have IIS installed, you need to make sure these three options are installed by going to Add / Remove in the Windows NT 4.0 Option Pack Setup. A side benefit to installing these Components is this. Click Next and Continue with the remaining steps of the backoffice installation wizard.

Server setup

Install Server Components

To set up The Server for Remote Debugging Follow these Steps:

Select Launch BackOffice Installation Wizard and click Install. The BackOffice Installation Wizard will prompt you to select a Custom or Visual InterDev Developer option. Select Custom and click Next. Verify the disk space requirements and click Next. Select Remote Machine Debugging, Visual InterDev Server, Front Page Server Extensions, and MS Data Access Components from the top level of the components list. Note Remote Machine Debugging is another component of the BackOffice Server Wizard. It sets up the latest versions of the debugging components as well as some registry keys that allow Visual InterDev to connect to the Transaction Server for debugging. The stand-alone setup for this is located in the Scrpt_ss directory on CD1 of Visual InterDev Professional Edition, or CD2 of Visual Studio Professional or Enterprise Edition. Note Visual InterDev Server is another component of The BackOffice Server Wizard. It is required for debugging. The standard-alone setup for this is located in the Vid_ss directory on CD1 of Visual InterDev Professional Edition, or CD2 of Visual Studio Professional or Enterprise Edition. Note If the Windows NT 4.0 Option Pack is reinstalled, the Remote Machine Debugging and Visual InterDev Server components must also be reinstalled. Expand the Windows NT 4.0 Option Pack Node and SELECT The FOLLOWING:

Internet Information Server Microsoft Management Console NT Option Pack Common Files Transaction Server Note The default IIS installation will set up the needed components, but there are some that you may turn off without adverse effect. The FTP server, the NNTP server, and the SMTP server are all unnecessary for debugging. The NNTP and SMTP servers are only installed on Windows NT 4.0 Server, whereas FTP server is an option for Windows NT 4.0 Server and Windows NT 4.0 Workstation. Click Next and continue with the remaining steps of the BackOffice Installation Wizard .Install ASP HotFix or Windows NT 4.0 Service Pack 4 or Later

Windows NT 4.0 Service Packs 4 and later contain a large number of bug fixes for IIS, but they were not available until after Visual Studio 6.0 shipped. A small number of these bugs are debugging-specific and can seriously hamper using the debugger productively. To remedy the situation until the Windows NT Service Packs were released, IIS released a Hotfix that contains the fixes needed for debugging. The Hotfix changes only one file, Asp.dll, and will not change its version number, so all other setups, including the Windows NT 4.0 Service Packs, Will Correctly Update It Later.

Note You may need to stop the Web services before installing the Hotfix or Service Packs in order for these program to correctly update the Asp.dll file. You can do this by stopping the "IIS Admin Service" from within the Services applet in Control Panel .

Run /iis/winnt/asp2fix1.exe from the installation dist (see Upcoming Note).

For Visual InterDev Professional Edition, it's located on CD1. For Visual Studio Professional Edition, it's located on CD2. For Visual Studio Enterprise Edition, it's located on CD3. Reboot when prompted.Giving users permission to debug

To Give Users The Ability To Debug, FOLLOW THESE Steps with The Machine On Which Iis IS Located. You Must Be Currently Logged On To Do So.

. Note By default, the user that is logged on when the Remote Machine Debugging Server Setup runs will be given permission to debug the server on that machine Anyone other than this user must be added using the following steps:

From the Start button, select Programs and click Administrative Tools (Common). Run User Manager for Domains. Add the user's Windows NT account to the Administrators group. From the Start button, click Run on the server computer. Type Dcomcnfg.exe and click OK. On the Applications tab, find Catalog Class (see Figure 1) and click the Properties button. Note The Catalog Class and Machine Debug Manager items are installed with the BackOffice Installation Wizard and are part of the server components for Visual InterDev 6.0. If The Catalog Class and Machine Debug Manager Applications Do Not Show Up in The Applications Tab, See The Section "Potential Errors or Problems."

This will open a dialog box titled Catalog Class Properties with four tabs. Click the Security tab. Select Use custom access permissions and click Edit (see Figure 2). This launches the standard Windows NT Add / Remove users dialog box (see Figure 3) . you can now add or remove any Windows NT user accounts or groups that you wish to have or deny permission. (The simplest way is to add the Administrators group because in step 1 you added all of the users that you want to Remote Debug into this group.) Note Due to a Windows NT bug, the Interactive User account will not work for granting debugging access. Users logged on to the server will not be able to debug even though this would seem to allow it. This should be fixed in Windows NT 4.0 Service Pack 4. Click OK when you are finished making changes. Repeat steps 5-8 for the Use custom launch permissions option. Note In the Identity tab (see Figure 4), if The interactive user option is selected, make sure a member of the administrators g roup is currently logged on to the machine when attempting to debug ASP pages. If the This user option is selected, make sure the specified user is a member of the Administrators group. Also, do not use The launching user option when configuring for the Machine Debug Manager application. Click OK to close the Catalog Class Properties dialog box, select the Machine Debugger Manager from the Applications tab list box, and click the Properties button (see Figure 5). Repeat steps 4-8 for the Machine Debug Manager. Note Any User Wanting to Debug On This Machine Must Have Access To All Four of these Groups to ensure success, click ok to close the dcomcnfg.exe dialog box. Reboot the machine.

When the machine restarts, the new users will have permission to debug. Note You may notice that the Interactive User account is added to all of the classes that were just mentioned. It would seem that having this account added and logged on to the remote server would be all you need to enable a machine for Remote Debugging. This will not work, however, because of a bug in Windows NT, which is fixed in Windows NT 4.0 Service Pack 4. After Service Pack 4 is installed, users may log on To The Remote Server and Expect Remote Debugging To Work Correctly

You can manually enable server-side debugging for your ASP application as described under "Manually Enabling ASP Debugging" later in this article. Alternatively, Visual InterDev can automatically enable debugging on the server as needed.

.

Note When Automatically Enabling Server-Side Debugging, Visual InterDev Will Also Enable Client-Side Debugging as Well.

In the Visual InterDev Project Explorer, right-click the project and click Properties to display the Property Pages dialog box. Click the Launch tab. Under Server script, make sure Automatically enable ASP server-side debugging on launch is selected. Click OK to close the Properties dialog box. In the Visual InterDev Project Explorer, right-click the file you want to debug and select Set as Start Page. From the Debug menu, select Launch, or click the Play button on the Project toolbar. Note to debug script in ASP pages, you must be running version 4.0 or later of Microsoft Internet Information Server (IIS) .When these steps are followed, each time you start a debugging session, Visual InterDev automatically configures the remote server for debugging This includes the following.:

Setting the IIS application to run in its own memory space. (In COM terms, it runs "out of process.") Enabling the IIS application's debugging options. Setting up a Microsoft Transaction Server package to allow you to attach the debugger to the Web Application. The package's ide set the debugging session by asking you to provide your name and password.

.

Verifying Debugging Setup

John Schenken has written a useful command-line tool that reports all of the information on debugging setup. (Viddbg.exe is included in the downloadable .zip file at the top of this article.) This can help find problems with the debugging setup and . can help Microsoft Product Support Services determine solutions more quickly to use it, copy it to a directory on your path and include one of the following options on the end: / Server-Reports on the accounts that have DCOM permissions set up (and thus the ability to remotely debug the machine), the Script and Java options for the machine, and the Asp.dll version and checks that the registry files used by Visual InterDev for auto-enabling server debugging exist on the machine.

/ Client-Reports on the Script and Java Options for the Machine, and the location of the management console and Internet service manager files needed to enable debugging on a remote machine.

/ VER-LISTS All of the debugging related files and the version number of each.

Debugging Operations

Basic Debugging Operations

You can Start Debugging in The Following Ways:

Run the Web document you are currently working with from Source View. Attach the debugger to a document that is already running in a browser or on a server using the Process dialog box. Launch the debugger in response to a script error, which is called Just -In-Time (JIT) debugging.

You Can Control Execution in The Following Ways:

Stop script execution by issuing a break command. Set a breakpoint in the script where the debugger will stop automatically. Jump to the end (step out) of the current procedure and proceed to the next breakpoint. Change values ​​and execute commands in the Immediate window . Skip over (step over) or walk through (step into) procedures called by the current procedure. If multiple procedures or threads are active, you can move to another one and proceed from there. Move to any currently active procedure in the Call Stack Window.you Can Inspect The Application State In the Following Ways:

Examine the values ​​of variables or properties in the Locals window. Set up Watch Expressions in the Watch window to display the values ​​of specific expressions. To set and change values, use the Immediate window. You can evaluate any expression in the window and enter script Commands and see their effect. You can also view and change value in the watch window.

Enabling ASP Debugging from a Visual InterDev Web Project

THERE ARE SEVERAL STEPS Required To Manual INABLE ASP Debugging. Visual InterDev, However, Can Enable The Needed Options and Start The Debugging Session Automatic. To do this, FOLLOW THESE STESE Steps:

Open a Visual InterDev Web project and add an ASP page to it. In the Project Explorer, select the ASP page. Right-click the page to bring up the Shortcut menu, and select the Set as Start Page option. The browser will request this page when the debugging session is started. You can set breakpoints in the file, or have Stop or debugger statements to cause the ASP code to break. Next, in the Project Explorer, right-click the Web root and select the Properties command from the Shortcut menu. In the IDispWebProject Properties dialog box that appears, click the Launch tab and select the check box labeled Automatically enable ASP server-side script debugging on launch option (see Figure 6). Notice that you can also add querystring parameters to the start page via the Parameters text box. Enter the querystring as it appears in the browser to append it to the start page when the debugging session is started. Figure 6. IDispWebProject Properties dialog box Click OK to close the dialog box. Fr om the Debug menu, select Launch, or click the Play button on the Project toolbar. When prompted (see Figure 7), log on with an account that has permissions to debug on the machine. The account information will default to whomever is currently logged ON, BUT this information can be be changing. Click Ok to this Prompt, and the debugger session will start. Figure 7. Debugging login Dialog Boxfrom this Point, Visual InterDev Will Do The Following:

ENABLE ASP Debugging on The Web and attach to the ASP process. Launch and attach to Internet Explorer. Request the start page in Internet Explorer.

When these Options Are Set for your project, Each Time You Start A Debugging Session Visual InterDev Dos The Following Things:

Sets the IIS application to run in its own memory space. (In COM terms, it runs "out of process.") Enables the IIS application's debugging options. Sets up a Microsoft Transaction Server (MTS) package to allow you to attach the debugger to the Web application. The package's identify is set when you first start the debugging session by asking you to provide your name and password. Launches and attaches to Internet Explorer. Requests the start page in Internet Explorer.When you quit your debugging session, Visual InterDev Will Detach from All Processes, Restore the Server Debugging Settings and Out-of-Process Setting To Their Previous Values, and Close Internet Explorer.

Manually enabling asp debugging

As was just shown, Visual InterDev can enable and disable debugging on a Web project as necessary. This is convenient and easy, and ensures that debugging is not on all of the time. There is also a large performance hit when debugging is enabled for a Web project. If Visual InterDev and IIS are on the same machine, it is possible to debug the Inetinfo.exe process as well as the Mtx.exe Web projects. Due to DCOM security constraints on system processes, however, Inetinfo.exe can not be debugged from a remote machine To manually enable debugging on a local Web server, steps 1-5 of the following are all that are necessary For debugging a Web on remote machine, all the following steps are necessary..:

Open the Internet Service Manager in the Microsoft Management Console on the machine running IIS. Expand the Tree View control in the left pane to expose the Webs. Expand the Internet Information Server node, the machine name, and the Default Web Site node. Following is a listing of all the directories in the InetPub / wwwroot directory as well as any application nodes that are pointing at other directories, as in Figure 8. Figure 8. Directories in the InetPub / wwwroot directory Select your application directory in the list and open the Properties for it. Visual InterDev will mark the directory as an application by default, so the icon to the left of the Web will look like a small blue box. On the Directory tab (see Figure 9) of the Properties dialog box, click the Configuration button on the lower-right corner of the Application Settings frame. This will load the Application Configuration dialog box. Figure 9. Directory tab In the Application Configuration dialog box, move to the App Debugging tab and select the top two check boxes, as in Figure 10. Click Apply and close the dialog box. The Web is now ready to be debugged in the Inetinfo.exe process by attaching to the process. See the "Attaching to a running Process "

section later in this document for information about attaching to processes. To debug the Web as a remote Web in Mtx.exe, however, you must complete the rest of the steps. Figure 10. App Debugging tab To begin, the Web needs to be marked as running in an isolated process, or out-of-proc (see Figure 11). This means the Web package will be hosted in Microsoft Transaction Server (MTS), and running as an Mtx.exe child process on the Web server. Click Apply and close the Properties dialog box. Figure 11. Run the Web in an isolated process in the left pane of the Internet Service Manager, expand the Microsoft Transaction Server tree. you will have to click on the node before you can successfully expand it . Next, expand Computers, My Computer, and Packages Installed, as in Figure 12. Figure 12. Expanded Microsoft Transaction Server tree Select the package that is automatically created when you run a Web application out of process and view the properties of that package. Click The Identi ty tab, select the This user option, and enter a valid username and password that belongs to the Administrators group (see Figure 13). Figure 13. Select "This user" on the Identity tabYour project is now manually configured to debug. See the ....................... ..

Debugging Client Script

To debug client script in Internet Explorer, you must be using Internet Explorer 4.0. Debugging must also be enabled in Internet Explorer (this is the default). It is also highly recommended that you set the option in Internet Explorer to launch each new instance of The Browser In A New Process, And That You Do Not Use Active DesktopTM Mode of Internet Explorer When You Are Debugging.You Debug Client Script in Any of these Ways:

Run a page containing the client script to debug from within your Visual InterDev solution. Attach the Visual InterDev debugger to a process (page) already running in Internet Explorer. Respond to a syntax or run-time error in a script, called Just-In - Time Debugging. Include a Statement In Script That Starts The Debugger.

There are also language commands that trigger this mechanism. In Microsoft JScript®, the debugger statement will raise a Just-In-Time exception, and the Stop statement will do the same in Microsoft Visual Basic®, Scripting Edition (VBScript). The two FOLLOWING Sections Will Explain Setup and Caveats for Jit Debugging of Client Script.

Just-in-Time Debugging of Client Script

Just-In-Time (JIT) debugging can be very helpful finding trouble spots or exposing exceptions. When JIT is enabled for a language, any compile- or run-time errors will raise an exception. If the debugger is not already attached to the process, a prompt will appear asking if the user wants to debug (see Figure 14). If Yes is the answer, Visual InterDev will launch, attach to the process, and break at the necessary line of script. If No is the answer, The Error Will Be ignored.

Figure 14. Just-in-Time Debugging Exception

Internet Explorer Jit Debugging

JIT debugging with Internet Explorer also requires two settings. First, JIT must be enabled for the machine. Second, the Disable Script Debugging option must not be turned on. This option (highlighted in Figure 15) is located in the Advanced tab of the Internet Options Dialog Box for Internet Explorer. It Should Be Correctly Set by Default.figure 15. "Disable Script Debugging" Option Must Not Be Turned ON

When these options are set, Internet Explorer will be ready for JIT debugging. Whenever client-side errors or break statements are hit and no debugger is attached, a dialog box appears asking if you want to debug. However, it has the same problem as ASP debugging with respect to the integrated development environment (IDE). It will always launch a new IDE to debug this process, even if you have an instance of Visual InterDev loaded with the project open. If the project is open, you will not Be Able To Load It Into The New Ide Also, SO You Will Lose Project Context While Debugging.

Internet Explorer also has a couple of menu commands that might be helpful while JIT debugging In the View command, under the Script Debugger topic, there are two options:.. Open and Break at Next Statement These will both call into the Visual InterDev debugger when it is installed properly. If these options do not work, reinstall Visual InterDev. This is usually caused by another component, possibly the Microsoft Script Debugger, registering itself as the default debugger on the machine. Reinstalling Visual InterDev will refresh the settings and make Visual Interdev the default.

When Internet Explorer requests the file, IIS will generate metadata information that the debugger can use to successfully map the preceding breakpoint to the file Internet Explorer receives. When the debugger breaks, look at the title of the file, where you will see the URL of ClientScript.asp. Notice, also, that all of the ASP code is gone. This window contains Internet Explorer's copy of the ASP page, and a breakpoint has been placed on the line containing the alert, which is now line 14. This is very useful for debugging client script that fires automatically, such as inline code or window events.Tip When switching between server and client debugging, use the Break command. From the Debug menu, click Processes. In the Processes dialog box, select a process and then click Break. This will break the debugger at the next code that runs in that process, giving you more control than just using the Break command from the Debug menu. This makes it easy to control the context changes tha That.....................

Note Client breakpoint mapping from ASP will usually fail if the file is edited during the debugging session. To avoid this, use the Restart command from the Debug menu after you edit the ASP code. The debugging session will shut down completely and a new session will Begin Immedierately. This Will Force All of the New Files Will Be Used To Calculate The BreakPoint Mapping.

Note To Beta Users Previously, this feature could be used only when the Enable ASP client debugging option was selected. Many people did not understand what this meant and assumed it was needed for all client script debugging. To clear up the confusion, this was removed AS A Separate Option and Incorporated InTo The Server Debugging Option.Setting Client Script Breakpoints in ASP Script

An ASP file can produce very different results, and the output generally bears little resemblance to the original source code. This causes a problem when trying to debug client-side script that is part of the ASP, because the user must open the file from the .................... ..

To work around this, Visual InterDev supports automatically mapping breakpoints in client script from the ASP source to the ASP output. These mapped breakpoints are noticeable in the ASP source code because they show up as breakpoints with a white diamond in the middle of them.

For this to work properly, ASP Server-Side Script Debugging must be enabled because IIS is responsible for generating the necessary mapping information. The setting is turned off by default. When Visual InterDev automatically enables server debugging, however, the proper setting is turned on And this feature will work. Here is an esample:

Insert the ClientScript.asp file, available in the downloadable .zip file included with this article, into your Web project Scroll to line 24 and set a breakpoint;. It should look like Figure 16. Now set ClientScript.asp as the start page and Begin Debugging. Figure 16. Clientscript.asp

Debugging interdev solution, you can debugger. Use The Following Steps To Debug A Script from Withnin A Solution:

In Visual InterDev, open the project containing the page you want to debug and load the page into the editor. Make the page your project's start page. In the Project Explorer, right-click the page and click Set as Start Page. Set a breakpoint In The Script to Debug. from The Debug Menu, Click Start. IF Debugging For Client Script in AS Just Described, Visual Interdev Displays A Message. Here Are Your Options:

If you are working with client script in an .htm file (not an .asp file) and you will not be navigating to an ASP page during your debugging session, click No to proceed with debugging. If you are working in an .asp file or you will be navigating to an .asp file during your debugging session, click No to proceed only if you are certain that debugging has already been manually enabled on the server for your project. Click No also if you are debugging locally and want to attach to the Inetinfo.exe process rather than the Mtx.exe process. Otherwise, click Yes and the server will automatically set up debugging. If the Automatically enable ASP server-side debugging on launch option is selected or if you click Yes and this is the first time you have launched a debugging session since opening the project, you are prompted to provide user information that identifies the debugging process on the server. (you are prompted even if you are currently working with an .htm file, in case you navigate to an ASP page.) Enter your domain and name in the form DOMAIN / username and your password. Note You might experience a delay the first time you launch a debugging session for the current project while Visual InterDev establishes the proper debugging configuration on the server .Visual InterDev launches Internet Explorer and loads the page into it. When Internet Explorer reaches the breakpoint, it stops and displays the source code in the Editor window. If the breakpoint is in an event handler script, you must trigger the event to reach the Breakpoint.

If you find an error, fix it and save the file. If you do not have a working copy of the file, right-click the name of the file in the Project Explorer and click Get Latest Version before you make modifications. From the Debug Menu, Click Restart.debugging Client Script in a Running Document

If a client script is already running in Internet Explorer and you detect a problem, you can stop the script and debug it on the spot. You can debug a running document from within Visual InterDev or from within Internet Explorer.

Note if you are working with an asp page, debugging must be enabled on the server. For details, see section "manually enabling asp debugging." Earlier in this document.

You can attach to a Running Document Only attaching is enabled. Use the folloads to enable Jit debugging:

From The Tools Menu, Click Options. In The Options Dialog Box, Click Debugger. Under Script, SELECT Attach To Program Running on this machine.

You can attach to a document directly in Visual InterDev. Use ONE of the Following Steps to debug a Running Document In Visual InterDev:

In Visual InterDev, click Processes from the Debug menu. In the Processes dialog box, click Microsoft Internet Explorer, Attach, and set a breakpoint in the script you want to debug. -Or- If you have already attached to a running document, in Visual InterDev Click Break from the debug menu. The debugger will stop at the next script stats That IS Executed.

IF Visual InterDev Is Not Already Running, You Can Launch The Debugger from Internet Explorer. Use The Following Steps To Debug A Running Document from Internet Explorer:

In Internet Explorer, click Script Debugger from the View menu, and then select Break at Next Statement. In the browser, trigger the event that calls the script you want to debug. -Or- In Internet Explorer, click Script Debugger from the View menu And the select open.a new instance of visual interdev is launched and you are promoted to open a project. if Visual InterDev is Already Running, A Second Instance Is Launched.

Open the project containing the file to debug. If The project is already Open in Another Instance of Visual InterDev, You Can't Open IT Again, SO Visual InterDev Creates A New Solution and Project Instead.

The page. If Nessary, Get A Working Copy Of The page. If the project.

If you make change it.........................

Debugging Client Script in response to an error or debugger stat

If Internet Explorer encounters a syntax or run-time error, you can use JIT debugging to find and fix it. You can also include a statement in your script, such as a Stop statement in VBScript or a debugger statement in JScript, to launch the Debugger from cove.

You can launch the debugger in response to an error or debugger statement online. Use the following stepd. Uses

From The Tools Menu, Click Options. In The Options Dialog Box, Click Debugger. Under Script, Select Just-in-Time Debugging.

Use the following steps to debug in response to an error or debugger statement:

When Internet Explorer encounters an error or a statement that starts the debugger, it displays an error message prompting you to debug. Click Yes. A new instance of Visual InterDev is launched. If Visual InterDev is already running, a second instance is launched. Open the project containing the file to debug. If the project is already open in another instance of Visual InterDev, you can not open it again, so Visual InterDev creates a new project instead. The page to debug is loaded into the editor. If necessary , get a working copy of the page. If the project was already open, the page is loaded as a read-only file in the new project. Note If you are debugging a client script generated by an .asp file, the line numbers reported in error messages refer to lines in the HTML document currently displayed in the browser. These usually do not correspond to line numbers in the original .asp file, because server script does not appear in the HTML output of an .asp file.If you make Changes to The File, Save IT and Redeploy It To The Server. Refresh The File In Internet Explorer Before Running The Script Again.

Debugging Projects in Local Mode

Local mode is a Web project mode available in Visual InterDev that moves your project to a "sandbox" that uses the Web server on the local machine. This is convenient because you can make changes to a Web site without affecting anyone else or breaking the application . W.................

Local mode has its own advantages versus debugging a remote server. This is because all ASP executions are serialized when debugging is enabled for a Web. The effect is that outside users browsing the Web will not receive an ASP page until you have stepped out of the current file, and IIS is in Run mode. Conversely, random ASP requests from other users may cause confusion for you when stepping between files while trying to re-create a complex scenario. By moving the project mode to your sandbox, the environment is restricted from possible outside interference.Local mode debugging is also a better experience because shutting down the debugger occurs more quickly on local servers than remote servers. When a debugging session is ended, Visual InterDev will connect to the server to disable the debugging settings. If the Visual InterDev Client and the Web Server Are ON Separate Machines, this Might Take A Few Minutes Because The The Several DCOM Requests That May Go Unanswered. Visual Int Erdev May Appear Hung, But It Is Really Just WAITING for Sests To Timeout. When Using Local Mode, HOWEVER, this is not a problem because the timeouts never occur.

Debugging Server Script

Changing a Machine's Script Debugging and Jit Properties

Each Windows machine that has Visual InterDev or IIS and the Remote Machine Debugging component installed has properties for debugging the Script and Java languages. Visual InterDev allows you to change this property on remote machines, but you must be an administrator on the remote machine to do This. Use the folline finning steps to adjut these machine-specific settings:

Launch Visual InterDev 6.0. From the Debug menu, click Processes. Type the target machine name into the Machine combo box. Click Properties. In the Debugger Properties dialog box for the machine (see Figure 17), verify that the Attach to running programs option is selected for Script. If you want JIT debugging, turn it on now. you can also choose to turn Java debugging and JIT on or off. Figure 17. Select the "Attach to running programs" optionServer-side ASP JIT debugging

There are only two requirements for getting server-side JIT debugging to work, but there are some important side effects to consider. First, JIT must be enabled for the machine the server is located on. (See the section "Changing a machine's script debugging and JIT properties "immediately preceding this section.) Second, debugging must be enabled for the Web. You might notice that Visual InterDev's auto-enable server debugging feature does not support these requirements, because by default it will disable debugging for the Web after each SESSION. this is intended Because Jit Debugging for Server-Scribe Script CAN Have Some Unintended Consequences, And It Was Decided The Majority of Users Would PREFER TO AVOID THESE.

For example, let's consider a remote Web server that was manually enabled for debugging. If JIT for that machine is turned on, any errors or break statements will cause the JIT dialog box to appear on the Web server. This means you must physically be at the machine to answer Yes or No to the dialog box each time an error occurs, which is less than ideal. Using Visual InterDev's auto-enable server debugging feature avoids this by making sure that the Web has debugging enabled only when the remote debugger is attached .Another oddity of ASP debugging is that compile / preprocessor errors report differently than run-time errors. Run-time errors return a dialog box and break into the debugger, where compile errors just send error text to the browser. This is because of the "remote debugging" functionality of Visual InterDev 6.0. If IIS returned a dialog box as well as breaking into the debugger, you would have to physically walk to the Web server to clear the dialog box before debugging could CONTINUE.

The last possible confusion caused by ASP JIT debugging is with the Visual InterDev IDE. As per the behavior of past Microsoft development tools, Visual InterDev launches a new copy of the IDE for every new JIT debugging session, even when a copy of Visual InterDev already has the correct project loaded. If the project is already loaded in another copy of Visual InterDev, you will not be able to open it in the new one, and thus you will not get the project context while debugging your site. This is Another Reason That Makes It Preference To Use The Project Debugging Features Rather Than Jit.

Remote Debugging

In addition to debugging scripts and processes that are running on your computer, you can debug those that are running on another computer. This is referred to as remote debugging. In Visual InterDev, Remote Debugging is useful for debugging server scripts running in ASP pages on IIS.Ordinarily, to debug server script in an ASP page, you would have to install Visual InterDev on the server and then debug scripts locally on that server. However, with Remote Debugging you can attach the debugger running on your computer to a script running On The Server and Issue Debugging Commands Across The Network.

Note if IIS and Visual InterDev Are Running on The Same Computer, You Can Debug Server Scripts Using That Copy of Visual InterDev, WITHOUT Remote Debugging.

For The Most Part, Remote Debugging IS Similar To Debugging Locally, Except for these Differences:

You must perform some extra setup steps before you can use Remote Debugging (see "Setting Up Remote Debugging"). Only one user can use Remote Debugging on a server at a time. You can attach to the Mtx.exe process only when debugging remotely .........................

Note It is highly recommented That You do not use active Desktop Mode of Internet Explorer 4.0 when you are defubuging.

Note Because Remote Debugging Ties Up Process Threads on The Server, IT IS Recommended That, While A Remote Debugging Session IS in Progress, Other Users Avoid Using The Server.

There Are Two Ways to Start Remote Debugging:

Launch a project using the debugger. This works just like debugging locally except that Visual InterDev automatically attaches the debugger to the server and starts Remote Debugging. Attach to a process that is already running on the server. This is useful if you become aware of a server script problem while the application is running. you can detect an error in server script if the server returns error text instead of your page, or if the browser appears hung when you request an .asp file.If you launch a project using the debugger , you can start debugging at the first line of script. Otherwise, you will only be able to debug script that runs after you attach to the process. In addition, if you launch a project, you will be able to edit the files you are Debugging. When you attach to a process, you can see the files you are debugging, but cannot Edit.

Launch a project using the debugger

In Visual InterDev, open the file to debug and, if needed, set breakpoints. Make the page your project's start page. In the Project Explorer, right-click the page and select Set as Start Page. In the Launch tab of the project's properties , select the Automatically enable ASP server-side debugging on launch option. Note If this option is not selected and it is the first time you have launched a debugging session since opening the project, a dialog box appears (see Figure 18) asking if you want to enable ASP debugging. If you select Yes, Visual InterDev will automatically set up the server for Remote Debugging. Select No only if you have manually configured the server for Remote Debugging or if you do not want to enable debugging. Figure 18. Enable ASP debugging dialog box From the Debug menu in Visual InterDev, select Start. Note If another user is already debugging on the server, Visual InterDev displays an error message, and you will not be able to start the debugger. If this is the first time you have started the debugger since opening the current project, you are prompted to provide user information used to identify the debugging process on the server. Enter the domain and name (in the form DOMAIN / username) and password of a user with administrative privileges. For more details, see "Setting Up Remote Debugging" earlier in this document. After the debugger starts and attaches to the document, proceed with debugging as normal.Attaching to a running process

IF debugging has been manually enabled on the server for your project and you detening, you can attach the debugger to it.

Use the folly means to attach to a Running process:

If it is not already open, start Visual InterDev. From the Debug menu, click Processes. In the Processes dialog box, type the name of the computer to attach to. If you do not know the computer name, choose Machine and use the Browse for Computer dialog box to locate the server where you want to debug. In the machine processes list, select the Mtx.exe process, and then click Attach. Note If you want to debug client script as well as server script, you will need to attach to the Iexplore.exe process also. The process you selected appears in the debugged Processes list. Close the Processes dialog box and use the Running Documents window to select the ASP page to debug. you can step through scripts and test variables and expressions Normally. However, To Run A Page You Must Navigate To It in Your Browser. in Addition, You can't Edit The Pages That You are debugging.common problem

This Section Describes Some of The Problems You May Encounter While Debugging with Visual InterDev 6.0, Along with Possible Workarounds.

The Project Is Not Set Up Up to Enable Asp Debugging AutomaticL

The dialog box in Figure 19 appears if you have the EnableServerDebugging project option set to false. To toggle this option to true, select Yes. This means Visual InterDev will ask you to log on with a user account that has permission to debug and will enable ASP debugging on the current Web. Selecting No will leave the property's value as false and launch the debugger. It does not try to enable ASP debugging for the Web, but leaves it in the current state and tries to attach. Cancel will cancel the Debug Start command and return you to the IDE.

Unable to set up server automatically

When You Start Debugging, The Dialog Box in Figure 19 Appears.figure 19. Unable to set Server Error Message

This Error Can Be Caused by One of Two Things:

If you are Remote Debugging, the client machine might not have the needed IIS components. Make sure at least the minimum IIS components are installed on the client machine. These are listed in the "Setting Up Remote Debugging" section of this document. The Remote Machine Debugging component install has failed. On the server, install the Remote Machine Debugging component again. The stand-alone setup for this component is located in the Scrpt_ss directory on CD1 of Visual InterDev Professional Edition or CD2 of Visual Studio Enterprise Edition. After this HAS SET UP, Reboot and Try Again. If The Problem Persists, Hand-Register The Two Registry Files, MTSAdmin.Reg and MTSADMIN2.REG, INCLUDED IN THE Downloadable .zip file, by double-clicking them.

Debug user name or password not valid

After logging on to the debugging Dialog Box Prompt, You Get The Following Message Box (See Figure 20).

Figure 20. User name or password not valid error error

.............................

NOTE The Occurrence or Absence of this Dialog Box Means Only That The Network Logon Has Failed or successded, Respective, Not Necessarily That Debugging Has Correctly Been Enabled.

Cannot attach to machineine

After you start debugging, the error message in Figure 21 appears when the user attempting to debug does not have the proper permissions to attach to the remote machine. Verify that the account you are logging on with has proper permissions to debug the machine running IIS. Figure 21. can't attach to remove machine

ASP BREAKPOINTS IGNORED

There Are Several Possible Reasons for Why The ASP Breakpoints Are Ignored:

If the breakpoints appear with question mark ( "?") Symbols in them after they have been missed, you need to install the ASP Hotfix or Windows NT 4.0 Service Pack 4. Note When installing the ASP Hotfix, make sure to stop all Web services and then run the install To make sure the ASP Hotfix installed correctly, look at the size of the Asp.dll (c: / winnt / system32 / inetsrv).. The correct size is 323 kilobytes If the breakpoints do not have the question. mark symbols in them, the current user account may not have sufficient permissions to debug the ASP process. Make sure the logged-on user has the necessary permissions, which are documented in the "Giving users permission to debug" section of this article. If the problem persists, open the Processes dialog box from the Debug menu, as in Figure 22. Look in the list of processes and see if Mtx.exe is available on the server. If it is not, there is still a permission problem, and You Should Double-Check The Different Permissions. Figure 22. P rocesses dialog box Breakpoints will not work correctly when debugging against an SSL Server. Debugging will launch and the Running Documents window will show the ASP process, but the breakpoints set in the project files will not be hit. To hit breakpoints when debugging an ASP on an SSL server, view the ASP page in the browser, and open the file from the Running Documents window. Any breakpoints set in this copy of the file will be hit when the ASP is run again. This is a known bug in IIS and will Be addressed by Windows 2000.InetNET Explorer Breakpoints Ignored

Client-side breakpoints are ignored because Internet Explorer 4.0 does not properly handle included files for debugging. The DTC script library code is an example of this, because it is included in HTML files via your the