beginners question:how to debug server component?

  • Thread starter Thread starter umen
  • Start date Start date
U

umen

Hello
im build very simple ATL server component (takes string from client an
returns uppercase string)
i like to debug this string from visual studio so i could see wha
appends when i invoke the com object method
and what appends in the object .
so what are the steps to debug call from asp client to server ATL CO
object?
thank


-
ume
 
Concerning you are using VS.NET 2003
1. Install remote debugging components:
msiexec /qb+ /i d:\vs_setup.msi NOVSUI=1 TRANSFORMS="d:\Setup\Rmt9x.mst"
SERVER_SETUP=1 ADDLOCAL=Native_Only_Debugging
2. From the client computer ( where the '.asp' page is being called from )
attach to teh server ( where the COM object is being created ).
3. Attach to the IIS service ( inetinfo.exe )
4. Set a breakpoint in the desiered location.

Thats it, Good luck
 
Back
Top