all groups > dotnet interop > october 2005 >
You're in the

dotnet interop

group:

Debugging legacy ASP application on VStudio under XP SP2



Debugging legacy ASP application on VStudio under XP SP2 mukesh bhakta
10/24/2005 3:21:49 PM
dotnet interop: Hi guys,

I have a rather strange problem with debugging a legacy ASP project
that uses COM Interops written in VB.NET.

The project when debugged on Win2000 allows JIT debugging of the CLR
code using the DefaultDomain in the 'Debug Processes' dialog. I also
see two DLLHost instances that can be used for debugging.

Under XP the same code only allows stepping into ASP and T-SQL code but
the CLR code cannot be debugged. I only see one DLLHost instance with
no 'DefaultDomain' in the debug process dialog.

I have checked DCOM settings et al coming from the MSDN KB's but still
no luck. All security settings on both machines are ditto.

Any suggestions?

Cheers

MB
Re: Debugging legacy ASP application on VStudio under XP SP2 mukesh bhakta
10/24/2005 9:12:55 PM
Hi Rob,

The COM controls do the rendering of the page contents and i can see
all values coming from the controls but still cannot 'breakpoint' or
trace into the code.

Cheers

MB
Re: Debugging legacy ASP application on VStudio under XP SP2 Robert Jordan
10/25/2005 1:07:55 AM
[quoted text, click to view]

Under XP and 2k3 the CLR gets loaded on demand, so you
cannot attach to dllhost.exe before the COM object has
been created *and* before one of its methods has been
accessed.

AddThis Social Bookmark Button