Home > Software engineering >  Out-of-process COM components how to debug
Out-of-process COM components how to debug

Time:09-28

Now compile an exe forms of COM components, now want to Debug the interface function, compile environment is Eclipse CDT, can run in the form of Debug, is there any way to trigger the call interface function, let the program run,
Idea:
C # write a client program, but call the COM interface, is a new process to restart the other, can not directly connected to the Debug ran up the process, and then call the corresponding interface function,
Is there a great god have other way?

CodePudding user response:

Attach the process, instead of unmanaged debugging environment

CodePudding user response:

The compiler is not VC, there is no such thing as find additional process

CodePudding user response:

Under a vc, your environment to run, and then add

CodePudding user response:

reference 3 floor burnout reply:
a vc, your environment to run, and then add

This is a very large program, the company own compiler tools, there are a lot of plug-ins, dividing large programs into each component, compiled into a COM component, is now want to debug the component inside our own program,

CodePudding user response:

http://blog.csdn.net/zhao4zhong1/article/details/53078924 old drivers find bug decade journey

CodePudding user response:

Out-of-process COM, you run the COM in a development environment -- -- -- -- -- -- -- -- -- --
will be prompted to wait to create componentsTo use another IDE, open exe debugging of the invoking process, in this way, can be exe and com alignment

CodePudding user response:

Now can be done by the client to start the com component, the component attached to the exe process for the debug debugging environment, but in an interface function set breakpoints, call the interface function on the client, not the breakpoint stops,
The debug to find several threads to perform together, belong to the GDB debugging multi-threaded, plus what commands, the other Windows. Gdbinit file created?
  • Related