Click here to Skip to main content
15,881,585 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Com component built using ATL (.dll) and im accessing the the methods of the COM component from perl script.
When i run the perl script from command line i want to debug the ATl com component.
I tried putting breakpoint in the com component but it is hitting.
Please help me out
Posted
Updated 8-Aug-11 23:19pm
v2

1 solution

0. At your server, provide a dummy function with a message box call inside
1. At your client, call this dummy function after the creating of server's instance
2. Start your client application
3. Do not press the OK button at the coming box
4. Start the VS and attach its debugger to the client application
5. Open a server's source and set a beakpoint now
6. Then press the OK button at the cliet's box
7. Now you should land at your breakpoint :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900