« Previous Next »

Thread: Breakpoints are not hitted correctly when debugging classic ASP on IIS 7.0

Last post 03-06-2009 4:52 AM by Rudidlo. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 12-23-2008, 8:10 AM

    • Rudidlo
    • Not Ranked
    • Joined on 02-16-2007, 4:18 AM
    • Posts 4

    Breakpoints are not hitted correctly when debugging classic ASP on IIS 7.0

      I have several projects wroted as classic ASP 3.0 pages. I changed my OS to Windows Vista last month. I'm not able to debug classic asp pages with Visual Studio 2005. I'm able to attach worker process, but when exception is elevated or breakpoint is hit, Visual Studio places cursor to another line of code.

     Than you for any valuable advice,
    Rudidlo
    http://silicon-remarks.blogspot.com
  • 12-23-2008, 10:14 AM In reply to

    Re: Breakpoints are not hitted correctly when debugging classic ASP on IIS 7.0

    Hello,

     What tool are you using to debug?  I've had problems with Interdev and with VS 2008 in that the break points aren't where they appear to be.  I believe that there's some kind of mismatch due to double-byte characters.

     The work-around that I used for this was to put a break point on a bunch of lines, sometimes every line in the file!  This is because I couldn't tell which line was which in the debugger.  I could then step through my code and tell which line I was actually on, by setting watches for different variables, and seeing their value change when they were assigned.

     With IIS7 and VS 2008 SP1, it seems that the character set issues are resolved, but I'm running into other problems getting my middle tier COM+ components to work on IIS7.

     -Eric

  • 03-06-2009, 4:52 AM In reply to

    • Rudidlo
    • Not Ranked
    • Joined on 02-16-2007, 4:18 AM
    • Posts 4

    Re: Breakpoints are not hitted correctly when debugging classic ASP on IIS 7.0

     I have found an article in Microsoft KB, which contain a fix for IIS6, but with searching similar fix for IIS7 I was unsuccessful.

    Rudidlo
    http://silicon-remarks.blogspot.com
Page 1 of 1 (3 items)
Microsoft Communities