Debuging a service with VC++
-
Hi all, I have written a simple service and would like to debug it with VC++. Is this possible? So far I have only managed to do it by installing a low-level debugger but that's a bit akward to use. Thanks, Mark
YOu can attach yto a process using VC - if you're using v6.0 then select Build|Start Debug|Attach to Process and check the Show System Proceses button to see your service... then once attached, you can break and set breakpoints, etc.
-
YOu can attach yto a process using VC - if you're using v6.0 then select Build|Start Debug|Attach to Process and check the Show System Proceses button to see your service... then once attached, you can break and set breakpoints, etc.
You might want to make sure your service is set to interact with the desktop, it makes things go a bit easier while debugging with the Visual Studio debugger.