Prev | Next |
Debug COM Interop
Enterprise Architect enables you to debug .NET managed code executed using COM in either a Local or an In-Process server.
This feature is useful for debugging Plugins and ActiveX components.
Debug .NET Managed Code Executed Using COM
Step |
Action |
See also |
---|---|---|
1 |
Create a Package in Enterprise Architect and import the code to debug. |
Software Engineering |
2 |
Ensure the COM component is built with debug information. |
|
3 |
Create a Script for the Package. |
|
4 |
In the 'Debug | Platform' page, you can select to either attach to an unmanaged process or specify the path to an unmanaged application to call your managed code. |
|
5 |
Add breakpoints in the source code to debug. |
Attach to an Unmanaged Process
If you are using:
- An In-Process COM server, attach to the client process
- A Local COM Server, attach to the server process
Click on the Debug window (or press ) to display a list of processes from which you can choose.
Notes