How to Debug Windows Service written in VC++ in VS2008?
HI,
How to Debug Windows Service written in VC++ in VS2008 ?开发者_如何学C
Any help is appreciated.
You can use:
DebugBreak()
to break your code whereever you want. orDebug Flags
utility that comes as a part of Windbg Installer to break as soon as a particular process starts.
I've previously written up a number of debugging tips for Windows services in C++ here: Convert a C++ program to a Windows service?
精彩评论