Debugging and ATL
-
Hi, i just started with ATL. red the book: ATL Internals: Working with ATL 8, Second Edition, and its great! :) Now im experimenting a bit with ATL and for some or other reason i cant find a way to debug an ATL-DLL. I'm using Visual studio 2005, and it would be wonderfull if i knew how to use the debugger with the dll so i can set breakpoints for example. Ofcourse debugging with out-prog services is no problem. but inproc services dont run on their own, they need te be started. Can anyone help me? - Koen
-
Hi, i just started with ATL. red the book: ATL Internals: Working with ATL 8, Second Edition, and its great! :) Now im experimenting a bit with ATL and for some or other reason i cant find a way to debug an ATL-DLL. I'm using Visual studio 2005, and it would be wonderfull if i knew how to use the debugger with the dll so i can set breakpoints for example. Ofcourse debugging with out-prog services is no problem. but inproc services dont run on their own, they need te be started. Can anyone help me? - Koen
Following steps may help - 1. Create a script or an EXE that uses your ATL inproc server (a DLL). 2. In your ATL Inproc server project, go to Project->Properties->Debugging and then set value of "Command" to be the path of your EXE. 3. Now if you can set breakpoints in your server and start debugging. I believe this will help.
S o h a i l K a d i w a l a
To Err Is Human; to Debug, Divine -
Following steps may help - 1. Create a script or an EXE that uses your ATL inproc server (a DLL). 2. In your ATL Inproc server project, go to Project->Properties->Debugging and then set value of "Command" to be the path of your EXE. 3. Now if you can set breakpoints in your server and start debugging. I believe this will help.
S o h a i l K a d i w a l a
To Err Is Human; to Debug, Divine