开发者

How to Debug Windows Service written in VC++ in VS2008?

开发者 https://www.devze.com 2023-02-13 21:24 出处:网络
HI, How to Debug Windows Service written in VC++ in VS2008 ?开发者_如何学C Any help is appreciated.You can use:

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. or
  • Debug 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消