PC Review Forums Newsgroups Windows XP Windows XP Security Cannot debug ISAPI DLLs after installing SP2

Reply

Cannot debug ISAPI DLLs after installing SP2

 
Thread Tools Rate Thread
Old 23-09-2004, 05:13 PM   #1
Rob Roberts
Guest
 
Posts: n/a
Default Cannot debug ISAPI DLLs after installing SP2


I apologize if this isn't the best newsgroup for this question. (If it
isn't, please let me know which one to use.)

I use Delphi 7 on Windows XP to develop ISAPI DLLs (among other things).
Before installing SP2, I was able to debug my ISAPI DLLs in the Delphi IDE
by using IIS on the local machine. (Details of how this is done are here:
http://www.msdelphi.com/default.htm.) I could set breakpoints in the source
code and have execution stop at them. All the usual debugging stuff.

But after installing SP2, the breakpoints no longer work. Execution does
not stop at them. Is there some setting I can change to get debugging
working again?

Thanks,
--Rob Roberts


  Reply With Quote
Old 03-10-2004, 05:54 PM   #2
Rob Roberts
Guest
 
Posts: n/a
Default Re: Cannot debug ISAPI DLLs after installing SP2

Someone finally came up with a solution to this problem and posted it on one
of the Borland newsgroups. In case others are looking for the solution,
here it is:

Add \\?\ to the beginning of the "Output directory" path in Project Options.
For example, if the output directory you are using is
C:\Inetpub\wwwroot\cgi-bin, simply change it to
\\?\C:\Inetpub\wwwroot\cgi-bin. Debugging will be back to normal.
Execution will stop at your breakpoints and bring them up in the IDE just
like it's supposed to. (I have no idea why this works, but it does.)

--Rob Roberts

"Rob Roberts" <robr@newsgroup.nospam> wrote in message
news:%23seVLeYoEHA.3488@TK2MSFTNGP12.phx.gbl...
>I apologize if this isn't the best newsgroup for this question. (If it
>isn't, please let me know which one to use.)
>
> I use Delphi 7 on Windows XP to develop ISAPI DLLs (among other things).
> Before installing SP2, I was able to debug my ISAPI DLLs in the Delphi IDE
> by using IIS on the local machine. (Details of how this is done are here:
> http://www.msdelphi.com/default.htm.) I could set breakpoints in the
> source code and have execution stop at them. All the usual debugging
> stuff.
>
> But after installing SP2, the breakpoints no longer work. Execution does
> not stop at them. Is there some setting I can change to get debugging
> working again?
>
> Thanks,
> --Rob Roberts
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off