need help debugging asp.net & out of process component


J

Jim Bancroft

I have an aspx page that calls a component living in an out-of-process
assembly; specifically, a dll that's hosted in a COM+ server package.
Whenever I debug my page and hit a breakpoint on the component in question,
I cannot step into its source. If I change the COM+ package configuration
from "server" to "library" mode debugging works fine and I can walk all over
my component's source.

No doubt it's the packaging that's giving me grief. My question is, how can
I debug the thing if it resides in a COM+ server package? I've been looking
at the various debugger settings in the component's VS .Net project and see
an option that reads "Wait to attach to an external process." Could that be
the key to victory here?

If anyone can give me a nudge or advice I'd be grateful, and thanks.

-Jim
 
Ad

Advertisements

S

Scott Allen

Jim,

You'll want to use Debug -> Processes and attach to multiple processes. A
COM+ server pckage will run in dllhost.exe by default. You can find the exact
process ID to debug by looking in the Component Services MMC for the process
ID.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Debugging asp.net component 0
Need Help, MTS component in ASP.NET 1
[ASP.NET 2.0] Help with debugging 2
ASP.NET and Debugging 4
debugging in asp.net 3
Debugging asp.net 0
asp.net debug 4
ASP.NET Debugging 4

Top