难道只能在windows下启动后看执行的结果

解决方案 »

  1.   

    晕...我还真是那样做的,写入txt什么的看看是否正确,很痛苦,还要不停的安装/卸载,很痛苦,帮你up一下:)
      

  2.   

    1) Start the service
    2) Choose "Debug | Processes"
    3) Check"Show system processes"
    4) Choose the service EXE file and click on "Attach" button
    5) In the "Attach to Process" window, check "Common Language Runtime"
    6) Set break point in your program, 
    7) DONE!!!But you are not able to debug "OnStart". Please let me know if anybody knows that.