Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: AW: debuging ASP and COM application


Message #1 by Michael Liebe <liebe@o...> on Thu, 28 Sep 2000 10:18:03 +0200
In order to debug your ASP component you have to attach to the running 

IIS

process. This is done by performing the following steps:



1) Configuration

* start IIS (inetinfo.exe)

* Make sure that yout web application is not running in a seperate 

process

but in in the IIS process. (Otherwise you need to attach to one of the

mtx.exe processes, but you won't know which instance to select)

* In the IDE select Build -> Start Debug -> Attach to running process 

and

activate the "Show system processes"- check box. Select 'inetinfo.exe'



A new workspace for inetinfo.exe gets opened. You need to add your dlls 

in

the Project->Settings->Debug tab.

Stop the Debugger, save the inetinfo-workspace and reopen your 

workspace.



2) Now you can start debugging:



* start iis ( 'net start iisadmin' and 'net start w3svc' for Winnt4.0 

or

'iisreset /start' for Windows2000)

* Attach to the inetinfo.exe process

* open your source file(s) and set breakpoints

* invoke your code (using your browser)





Michael









-----Urspr=FCngliche Nachricht-----

Von: yaron [mailto:YaronA@w...]

Gesendet: Mittwoch, 27. September 2000 21:28

An: ASP components

Betreff: [asp_components] debuging ASP and COM application





Hi,



how can i debug(put some breakpoints) my COM app which is call via ASP

app?

in case the COM is dll , what exe i declare for debug it ?

in case the COM is exe , how can i debug it ?



thanks.




  Return to Index