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
 
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

Top