[英]Windows service debugging error
when I try to do tools-> attach to process and select windows service I get:当我尝试执行工具-> 附加到进程和 select windows 服务时,我得到:
---------------------------
Microsoft Visual Studio
---------------------------
The following module was built either with optimizations enabled or without debug information:
C:\Program Files (x86)\MyProj\Service\myproj.dll
To debug this module, change its project build configuration to Debug mode. To suppress this message, disable the 'Warn if no user code on launch' debugger option.
---------------------------
OK
when I do following:当我执行以下操作时:
Tools -> options -> Debugging and uncheck "Warn if no user code on launch", the error goes but debugger point not hit.工具 -> 选项 -> 调试并取消选中“如果启动时没有用户代码则发出警告”,错误消失但调试器点未命中。 Please suggest solution.
请提出解决方案。
Thanks谢谢
Under "Tools--->Options---->Debugging"
uncheck "Enable Just My Code(Managed Only)"
在
"Tools--->Options---->Debugging"
下取消选中"Enable Just My Code(Managed Only)"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.