2006.04.06 10:19 PM

MSDNFlash(back), Volume 2, Number 5, April 6, 1998

MSDN Flash Tip
Debug Applications in Internet Information Server 4 from Active Server Developer's Journal

Internet Information Server (IIS) 4.0 now enables you to debug the Global.asa file, .asp files, .cdx files, and ActiveX components written in Java. With IIS 3.0, debugging usually meant typing in Response.Write statements, which would send the necessary information to the browser to determine scripting errors. Using the new Microsoft Script Debugger that ships with IIS 4.0 and Internet Explorer 4.0 it is possible to debug client-side and server-side scripts. To maximize performance, debugging is not enabled by default for ASP-based applications, so you'll have to do it manually. Remember, never enable debugging for an application in production, that is, a site being used by others.

To enable debugging, click the Configuration button on the application's Properties page. Under the Application Debugging tab, select the Enable ASP server-side script debugging check box. Click OK in both dialog boxes to save your application's settings. Now debugging is enables for this application. To debug a page, simply open it in your browser. Now start Script debugger for the Windows Start menu. The script debugger will automatically open the page for you.

Ran into a pile of these old things while cleaning out some ancient Outlook folders. Sometimes I really miss the old days. Then I get over it.



TrackBack URL:  http://www.typepad.com/services/trackback/6a00d8341c7bd453ef00d8355f6b0c69e2

Listed below are links to weblogs that reference MSDNFlash(back), Volume 2, Number 5, April 6, 1998: