as title, my friend's environment is Windows 2003 server. He attached the IIS process and set the breaking points at codes supposed to run, but VS doesn't stop at all. The ISAPI is written with VC++.
Is there any setting he need to set up?
Thanks.
This is kind of late, but there is an easier way.
Visual Studio will launch a test instance of IIS and you can debug your DLL, no need to attach to process, etc.
Make sure to stop IIS service beforehand.
Visual studio can debug various types of Code: Native, Script, Managed, Silverlight etc. You need to ensure that when you attach that the Attach To: box contains "Native code".
You also need to be sure you are attaching to the correct instance of w3wp.exe if there is more than one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With