I'd like to attach a debugger to a WCF service without interrupting incoming requests which are not the one I intend to debug. I thought I could use a conditional break point to only break on specific conditions in the request coming from my machine. I used SoapUI to send the request with the specific conditions. When that break point was hit, I opened a different request in SoapUI, but that request was not processed until I released my break. My goal was to see if I could attach a remote debugger to a production server without interrupting other requests. Is there anyway to do this?
Asked
Active
Viewed 25 times
1
-
You kinda answered your own question based on the behavior you describe. Breakpoints seem to cause a process to "pause" not just the thread executing the code that contains the breakpoint. There is a capability to attach multiple remote debugging sessions to a process but this doesn't necessarily imply the process is executing other threads as normally. – Sixto Saez Feb 22 '18 at 17:04
-
Ooops, I forgot to add "How" to my question. – JohnH Feb 22 '18 at 19:38
-
[Check this answer](https://stackoverflow.com/a/21746853/9711) for details on how debugging is implemented internally by the hardware. Once you hit a breakpoint, game over, the process goes into step mode. – Sixto Saez Feb 22 '18 at 19:58
-
That makes sense. Thanks. – JohnH Feb 22 '18 at 20:36