views:

295

answers:

1

I was trying to set a breakpoint in global.asa in an old classis ASP project with IIS 6 in Visual Studio 2005.

Somehow the context menu for actually setting the breakpoint somewhere in global.asa is disabled (greyed). How can I set a breakpoint then?

Breakpoints in .asp pages are no problem though and do work fine.

A: 

Try this: How to: Debug Global.asa files. The short version is to place a VBScript Stop statement or JScript debugger at the beginning of the procedure, before any statements that you will want to step through.

sgwill