Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can no longer debug classic asp code with visual studio 2008

I've finally found a way to debug classic asp code in visual studio 2008 ... but...

has anybody been able to debug asp classic code with visual studio 2005 or later?

... but ...

it only lasted a few days...

I'm following these steps

http://www.codeproject.com/KB/debug/DebugVBScriptVS2008.aspx

http://codepagoda.com/2009/04/30/debugging-classic-asp-with-visual-studio-2008-sp1-and-35-framework/

but now, when I do "attach process" I can no longer see the "Script, x86" process anymore...

so I can not debug classic asp code...

I tried restarting the machine, creating a new project, startgin from scrath, the only thing I haven't tried so far is to reinstall IIS...

any idea???

PLEASE HELP!!!!

edit: some info about my environment

Windows XP 2002 SP 3, IIS 5.1, Visual Studio 2008 9.0.30729.1 SP

like image 620
opensas Avatar asked Nov 24 '25 22:11

opensas


1 Answers

The most likely reason for this is because the process hasn't spun up yet. You need to hit an ASP page first before IIS spins up the DLLHOST.exe in which it runs an application if you have that application set to have high isolation (recommended for debugging purposes).

Hence debugging bia attachment requires the you use the browser to ping an ASP page in your site first, then open the Attach to process list.

like image 189
AnthonyWJones Avatar answered Nov 26 '25 14:11

AnthonyWJones



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!