简体   繁体   中英

Failed to Attach to Script process in VS2010

I am trying to attach to w3wp.exe to debug classic asp.

i am attaching to type "Script", but get the following error:

Failed to attach to these type(s) of code: Script: A debugger is already attached.

i saw online that maybe another program is running on the background and is using "Script".

how can i find out what program uses it? and possibly kill it? or is there another way to go around it.

maybe i can debug classic asp without attaching to Script? this is the only way i've been able to do it in the past.

Thanks!

you have to configure asp in your iis and set server-side debugging to true.

then you can use the "stop" keyword in your asp script in the line you want to set a "break Point". when the line is executed a window will popup and you can start visual Studio to debug your asp script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM