WCF – Why is my module not in the module list?

I have a WCF service that can be debugged. I set a breakpoint in the code, I want to debug and get the message

The breakpoint will not currently be hit. The source code is different from the original version.

I have been struggling for 3 days and tried everything I found in other posts.< /p>

One thing I noticed is that if I go to Debug -> Windows -> Module The module I want to debug is not in the list. I think it might be related to it. Does anyone know what I should do .

Thanks,

Sachin

Edit:

I have tried all these things and more, but due to some Reason, I still have the same problem. Is there any solution for this?

To illustrate this point, this error means that the compiled service does not match the source code. The service runs as the source code has changed. Make sure to rebuild the solution.

The way I debug the WCF service is to have 2 Visual Studio instances. One runs the WCF service hosting application (console), and the other A running client. Make sure you are running the debug version. As long as the client can successfully connect to your service, it should work (and debug) normally.

You get

< /p>

The breakpoint will not currently be hit.

When the module with the breakpoint has not been loaded. Before the client connects, your Service.

I have a WCF service that can be debugged. I set a breakpoint in the code, and I want to debug and get messages

< p>

The breakpoint will not currently be hit. The source code is different from the original version.

I have been struggling for 3 days and tried my in other posts Everything found.

One thing I noticed is that if I go to Debug -> Windows -> Modules the module I want to debug is not in the list. I think it might be related to it. There is Who knows what I should do.

Thanks,

Sachin

Edit:

I have tried all these things and more Many, but for some reason, I still have the same problem. Is there any solution for this?

To illustrate this point, this error means that the compiled service does not match the source code, that is, the source code has changed since the service runs. Make sure to rebuild the solution

The way I debug the WCF service is to have 2 Visual Studio instances. One runs the WCF service hosting application (console) and the other runs the client. Make sure you are running the debug version. As long as the client can successfully connect to your service, it should work (and debug) normally.

You get

The breakpoint will not currently be hit.

When the module with the breakpoint has not been loaded. Your service will not be loaded until the client connects.

Leave a Comment

Your email address will not be published.